* src/hildon-helper.c: Remove guard for NULL message in _set_insensitive_message...
authorXan Lopez <xan.lopez@nokia.com>
Fri, 9 Mar 2007 14:08:49 +0000 (14:08 +0000)
committerXan Lopez <xan.lopez@nokia.com>
Fri, 9 Mar 2007 14:08:49 +0000 (14:08 +0000)
ChangeLog.2
src/hildon-helper.c

index f497418..b2bc707 100644 (file)
@@ -1,3 +1,9 @@
+2007-03-09  Xan Lopez <xan.lopez@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@nokia.com> 
 
        * src/hildon-helper.c: Fixing a double free in
index 7b4538c..d1f0647 100644 (file)
@@ -277,7 +277,6 @@ hildon_helper_set_insensitive_message           (GtkWidget *widget,
                                                  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,