aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2008-01-02 19:56:25 +0800
committerMilan Crha <mcrha@src.gnome.org>2008-01-02 19:56:25 +0800
commit51cb36bbc79fdb378ff57269dac59cf9d9faec6d (patch)
tree98c8f347e9e4ff1149095e77159260dd9bff3604 /plugins
parentb25f59765c8feb03eb04c5464d690d6886f97c36 (diff)
downloadgsoc2013-evolution-51cb36bbc79fdb378ff57269dac59cf9d9faec6d.tar
gsoc2013-evolution-51cb36bbc79fdb378ff57269dac59cf9d9faec6d.tar.gz
gsoc2013-evolution-51cb36bbc79fdb378ff57269dac59cf9d9faec6d.tar.bz2
gsoc2013-evolution-51cb36bbc79fdb378ff57269dac59cf9d9faec6d.tar.lz
gsoc2013-evolution-51cb36bbc79fdb378ff57269dac59cf9d9faec6d.tar.xz
gsoc2013-evolution-51cb36bbc79fdb378ff57269dac59cf9d9faec6d.tar.zst
gsoc2013-evolution-51cb36bbc79fdb378ff57269dac59cf9d9faec6d.zip
** Fix for bug #502914
2008-01-02 Milan Crha <mcrha@redhat.com> ** Fix for bug #502914 * bbdb.c: (enable_toggled_cb): Do not write NULL into gconf. svn path=/trunk/; revision=34747
Diffstat (limited to 'plugins')
-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);