ekiga r6123 - trunk/lib/gmconf



Author: jpuydt
Date: Sat Apr  5 10:09:00 2008
New Revision: 6123
URL: http://svn.gnome.org/viewvc/ekiga?rev=6123&view=rev

Log:
Added a test to avoid a useless warning


Modified:
   trunk/lib/gmconf/gmconf-glib.c

Modified: trunk/lib/gmconf/gmconf-glib.c
==============================================================================
--- trunk/lib/gmconf/gmconf-glib.c	(original)
+++ trunk/lib/gmconf/gmconf-glib.c	Sat Apr  5 10:09:00 2008
@@ -692,7 +692,7 @@
   entry = (GmConfEntry *)data;
   for (ptr = entry->notifiers; ptr != NULL; ptr = ptr->next) {
     notif = (Notifier *)ptr->data;
-    if (entry->type == GM_CONF_OTHER)
+    if (entry->type == GM_CONF_OTHER && entry->value.redirect != NULL)
       notifier_call_on_entry (notif, entry->value.redirect);
     else
       notifier_call_on_entry (notif, entry);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]