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

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Fri Mar 9 16:08:50 EET 2007
Author: xan
Date: 2007-03-09 16:08:49 +0200 (Fri, 09 Mar 2007)
New Revision: 10489

Modified:
   projects/haf/branches/hildon-libs/hildon-1/ChangeLog.2
   projects/haf/branches/hildon-libs/hildon-1/src/hildon-helper.c
Log:

        * src/hildon-helper.c: Remove guard for NULL message in
        _set_insensitive_message. Passing NULL is accepted with the semantics
        of removing any previous message.



Modified: projects/haf/branches/hildon-libs/hildon-1/ChangeLog.2
===================================================================
--- projects/haf/branches/hildon-libs/hildon-1/ChangeLog.2	2007-03-09 14:00:03 UTC (rev 10488)
+++ projects/haf/branches/hildon-libs/hildon-1/ChangeLog.2	2007-03-09 14:08:49 UTC (rev 10489)
@@ -1,3 +1,9 @@
+2007-03-09  Xan Lopez <xan.lopez at nokia.com> 
+
+	* src/hildon-helper.c: Remove guard for NULL message in
+	_set_insensitive_message. Passing NULL is accepted with the semantics
+	of removing any previous message.
+
 2007-03-09  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
 
 	* src/hildon-helper.c: Fixing a double free in

Modified: projects/haf/branches/hildon-libs/hildon-1/src/hildon-helper.c
===================================================================
--- projects/haf/branches/hildon-libs/hildon-1/src/hildon-helper.c	2007-03-09 14:00:03 UTC (rev 10488)
+++ projects/haf/branches/hildon-libs/hildon-1/src/hildon-helper.c	2007-03-09 14:08:49 UTC (rev 10489)
@@ -277,7 +277,6 @@
                                                  const gchar *message)
 {
     g_return_if_fail (GTK_IS_WIDGET (widget));
-    g_return_if_fail (message != NULL);
 
     /* Clean up any previous instance of the insensitive message */
     g_signal_handlers_disconnect_matched (G_OBJECT (widget), G_SIGNAL_MATCH_FUNC,


More information about the maemo-commits mailing list