[maemo-commits] [maemo-commits] r12540 - in projects/haf/trunk/hildon-desktop: . src

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Fri Jun 29 13:08:06 EEST 2007
Author: jobi
Date: 2007-06-29 13:07:54 +0300 (Fri, 29 Jun 2007)
New Revision: 12540

Modified:
   projects/haf/trunk/hildon-desktop/ChangeLog
   projects/haf/trunk/hildon-desktop/src/hd-home-window.c
Log:

2007-06-29  Johan Bilien  <johan.bilien at nokia.com>

	* src/hd-home-window.c:
	- fixed bogus check in the display state handler



Modified: projects/haf/trunk/hildon-desktop/ChangeLog
===================================================================
--- projects/haf/trunk/hildon-desktop/ChangeLog	2007-06-29 10:02:59 UTC (rev 12539)
+++ projects/haf/trunk/hildon-desktop/ChangeLog	2007-06-29 10:07:54 UTC (rev 12540)
@@ -1,3 +1,8 @@
+2007-06-29  Johan Bilien  <johan.bilien at nokia.com>
+
+	* src/hd-home-window.c:
+	- fixed bogus check in the display state handler
+
 2007-06-28  Lucas Rocha  <lucas.rocha at nokia.com>
 
 	* src/hd-switcher-menu.c: changed the order the new notifications are

Modified: projects/haf/trunk/hildon-desktop/src/hd-home-window.c
===================================================================
--- projects/haf/trunk/hildon-desktop/src/hd-home-window.c	2007-06-29 10:02:59 UTC (rev 12539)
+++ projects/haf/trunk/hildon-desktop/src/hd-home-window.c	2007-06-29 10:07:54 UTC (rev 12540)
@@ -1538,8 +1538,6 @@
 hd_home_window_osso_display_state_cb (osso_display_state_t      state,
                                       gpointer                  window)
 {
-  g_return_if_fail (state);
-
   g_signal_emit_by_name (G_OBJECT (window),
                          "screen-off",
                          state == OSSO_DISPLAY_OFF);


More information about the maemo-commits mailing list