aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorSivaiah Nallagatla <snallagatla@novell.com>2005-03-05 16:40:50 +0800
committerSivaiah Nallagatla <siva@src.gnome.org>2005-03-05 16:40:50 +0800
commit0235770b09df4e25b32478bc8952f850c61115ac (patch)
tree892862c5b62b82eb83a53f1304b9ec5418699b3a /addressbook
parent4a76887ca139576b40956b75fc49a512d0f76d73 (diff)
downloadgsoc2013-evolution-0235770b09df4e25b32478bc8952f850c61115ac.tar
gsoc2013-evolution-0235770b09df4e25b32478bc8952f850c61115ac.tar.gz
gsoc2013-evolution-0235770b09df4e25b32478bc8952f850c61115ac.tar.bz2
gsoc2013-evolution-0235770b09df4e25b32478bc8952f850c61115ac.tar.lz
gsoc2013-evolution-0235770b09df4e25b32478bc8952f850c61115ac.tar.xz
gsoc2013-evolution-0235770b09df4e25b32478bc8952f850c61115ac.tar.zst
gsoc2013-evolution-0235770b09df4e25b32478bc8952f850c61115ac.zip
Make sure LoadSourceData has call back installed before calling it. cb is
2005-03-03 Sivaiah Nallagatla <snallagatla@novell.com> * gui/component/addressbook.c (load_source_auth_cb): Make sure LoadSourceData has call back installed before calling it. cb is NULL when called from auth_required_cb Fixes #73206 svn path=/trunk/; revision=28968
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog8
-rw-r--r--addressbook/gui/component/addressbook.c3
2 files changed, 10 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 9dcd26121c..22f4321402 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,11 @@
+2005-03-03 Sivaiah Nallagatla <snallagatla@novell.com>
+
+ * gui/component/addressbook.c (load_source_auth_cb):
+ Make sure LoadSourceData has call back installed
+ before calling it. cb is NULL when called from
+ auth_required_cb
+ Fixes #73206
+
2005-02-26 Sivaiah Nallagatla <snallagatla@novell.com>
* gui/widgets/e-addressbook-view.c :
diff --git a/addressbook/gui/component/addressbook.c b/addressbook/gui/component/addressbook.c
index 699a44ba06..4e5ad6ac8e 100644
--- a/addressbook/gui/component/addressbook.c
+++ b/addressbook/gui/component/addressbook.c
@@ -98,7 +98,8 @@ load_source_auth_cb (EBook *book, EBookStatus status, gpointer closure)
_("Accessing LDAP Server anonymously"));
g_signal_connect (dialog, "response", G_CALLBACK(gtk_widget_destroy), NULL);
gtk_widget_show (dialog);
- data->cb (book, E_BOOK_ERROR_OK, data->closure);
+ if (data->cb)
+ data->cb (book, E_BOOK_ERROR_OK, data->closure);
free_load_source_data (data);
return;
}