diff options
author | Chris Toshok <toshok@ximian.com> | 2001-08-14 11:58:29 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2001-08-14 11:58:29 +0800 |
commit | 137c498c87c04a4488ffceef033fd4fd9e91869f (patch) | |
tree | 850d2e2cab24b6e70efcfc8d1c9dd67276cee052 /addressbook/gui/component/addressbook-config.c | |
parent | c437b54b0c24b965a30f1e684b2f71b22340faef (diff) | |
download | gsoc2013-evolution-137c498c87c04a4488ffceef033fd4fd9e91869f.tar.gz gsoc2013-evolution-137c498c87c04a4488ffceef033fd4fd9e91869f.tar.zst gsoc2013-evolution-137c498c87c04a4488ffceef033fd4fd9e91869f.zip |
don't access source->auth if source == NULL (bug #7086).
2001-08-13 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-config.c
(addressbook_source_dialog_set_source): don't access source->auth
if source == NULL (bug #7086).
svn path=/trunk/; revision=11988
Diffstat (limited to 'addressbook/gui/component/addressbook-config.c')
-rw-r--r-- | addressbook/gui/component/addressbook-config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addressbook/gui/component/addressbook-config.c b/addressbook/gui/component/addressbook-config.c index 3a29402453..d7f8d43f1b 100644 --- a/addressbook/gui/component/addressbook-config.c +++ b/addressbook/gui/component/addressbook-config.c @@ -106,7 +106,7 @@ addressbook_source_dialog_set_source (AddressbookSourceDialog *dialog, Addressbo e_utf8_gtk_entry_set_text (GTK_ENTRY (dialog->rootdn), source ? source->rootdn : ""); gtk_option_menu_set_history (GTK_OPTION_MENU(dialog->scope_optionmenu), source ? source->scope : 0); - gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON(dialog->auth_checkbutton), source->auth == ADDRESSBOOK_LDAP_AUTH_SIMPLE); + gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON(dialog->auth_checkbutton), source && source->auth == ADDRESSBOOK_LDAP_AUTH_SIMPLE); } static AddressbookSource * |