aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2001-08-14 11:58:29 +0800
committerChris Toshok <toshok@src.gnome.org>2001-08-14 11:58:29 +0800
commit137c498c87c04a4488ffceef033fd4fd9e91869f (patch)
tree850d2e2cab24b6e70efcfc8d1c9dd67276cee052
parentc437b54b0c24b965a30f1e684b2f71b22340faef (diff)
downloadgsoc2013-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
-rw-r--r--addressbook/ChangeLog6
-rw-r--r--addressbook/gui/component/addressbook-config.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 049435e2ca..4202775ffd 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,9 @@
+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).
+
2001-08-13 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-book-listener.c,
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 *