diff options
author | Sivaiah Nallagatla <snallagatla@novell.com> | 2005-03-05 16:40:50 +0800 |
---|---|---|
committer | Sivaiah Nallagatla <siva@src.gnome.org> | 2005-03-05 16:40:50 +0800 |
commit | 0235770b09df4e25b32478bc8952f850c61115ac (patch) | |
tree | 892862c5b62b82eb83a53f1304b9ec5418699b3a /addressbook/gui | |
parent | 4a76887ca139576b40956b75fc49a512d0f76d73 (diff) | |
download | gsoc2013-evolution-0235770b09df4e25b32478bc8952f850c61115ac.tar.gz 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/gui')
-rw-r--r-- | addressbook/gui/component/addressbook.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |