aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/bbdb/ChangeLog6
-rw-r--r--plugins/bbdb/bbdb.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/plugins/bbdb/ChangeLog b/plugins/bbdb/ChangeLog
index e90bb95bf6..ec60ac74a9 100644
--- a/plugins/bbdb/ChangeLog
+++ b/plugins/bbdb/ChangeLog
@@ -1,3 +1,9 @@
+2008-01-02 Milan Crha <mcrha@redhat.com>
+
+ ** Fix for bug #502914
+
+ * bbdb.c: (enable_toggled_cb): Do not write NULL into gconf.
+
2007-12-03 Srinivasa Ragavan <sragavan@novell.com>
** Fix for bug #391062
diff --git a/plugins/bbdb/bbdb.c b/plugins/bbdb/bbdb.c
index ad02eb2aca..1b3f4e138b 100644
--- a/plugins/bbdb/bbdb.c
+++ b/plugins/bbdb/bbdb.c
@@ -401,7 +401,7 @@ enable_toggled_cb (GtkWidget *widget, gpointer data)
gconf_client_set_string (
stuff->target->gconf,
GCONF_KEY_WHICH_ADDRESSBOOK,
- uri, &error);
+ uri ? uri : "", &error);
if (error != NULL) {
g_warning ("%s", error->message);