** 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
This commit is contained in:
Milan Crha
2008-01-02 11:56:25 +00:00
committed by Milan Crha
parent b25f59765c
commit 51cb36bbc7
2 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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);