[maemo-commits] [maemo-commits] r9508 - in projects/haf/branches/hildon-libs/hildon-1: . src

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Thu Feb 1 14:15:21 EET 2007
Author: mdk
Date: 2007-02-01 14:15:20 +0200 (Thu, 01 Feb 2007)
New Revision: 9508

Modified:
   projects/haf/branches/hildon-libs/hildon-1/ChangeLog.2
   projects/haf/branches/hildon-libs/hildon-1/src/hildon-window.c
Log:
Fixed the check for which property changed in _notify. Removed unused static function. Fixes: MB#962


Modified: projects/haf/branches/hildon-libs/hildon-1/ChangeLog.2
===================================================================
--- projects/haf/branches/hildon-libs/hildon-1/ChangeLog.2	2007-02-01 12:03:28 UTC (rev 9507)
+++ projects/haf/branches/hildon-libs/hildon-1/ChangeLog.2	2007-02-01 12:15:20 UTC (rev 9508)
@@ -1,3 +1,9 @@
+2007-02-01  Johan Bilien  <johan.bilien at nokia.com>
+
+	* src/hildon-window.c:
+	Fixed the check for which property changed in _notify
+	Removed unused static function. Fixes: MB#962
+
 2007-02-01  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
 
 	* doc/gtk-doc.make:

Modified: projects/haf/branches/hildon-libs/hildon-1/src/hildon-window.c
===================================================================
--- projects/haf/branches/hildon-libs/hildon-1/src/hildon-window.c	2007-02-01 12:03:28 UTC (rev 9507)
+++ projects/haf/branches/hildon-libs/hildon-1/src/hildon-window.c	2007-02-01 12:15:20 UTC (rev 9508)
@@ -818,12 +818,12 @@
 {
     HildonWindow *window = HILDON_WINDOW (gobject);
 
-    if (strcmp (param->name, "title") == 0)
+    if (g_str_equal (param->name, "title"))
     {
 
         hildon_window_update_title (window);
     }
-    else if (strcmp (param->name, "is-topmost"))
+    else if (g_str_equal (param->name, "is-topmost"))
     {
         hildon_window_is_topmost_notify (window);
     }
@@ -1199,18 +1199,6 @@
 }
 
 /*
-   static void 
-   hildon_window_title_notify (GObject *gobject,
-   GParamSpec *arg1,
-   gpointer user_data)
-   {
-   HildonWindow *window = HILDON_WINDOW (gobject);
-
-   hildon_window_update_title (window);
-
-   }*/
-
-/*
  * The menu popuping needs a menu popup-function
  */
 static void


More information about the maemo-commits mailing list