From e87d4d4b1f6bbab5cb6c9d5eef750efa1cc80c57 Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Mon, 26 Aug 2002 23:40:18 +0000 Subject: [ fixes #29446 ] searching_modify_func can be NULL (since we don't require 2002-08-26 Chris Toshok [ fixes #29446 ] * gui/component/addressbook-config.c (scope_optionmenu_activated): searching_modify_func can be NULL (since we don't require changes to enable the "Next" button on this page when you create a directory server.) svn path=/trunk/; revision=17871 --- addressbook/gui/component/addressbook-config.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'addressbook/gui') diff --git a/addressbook/gui/component/addressbook-config.c b/addressbook/gui/component/addressbook-config.c index 7682f815ab..3e9b342f40 100644 --- a/addressbook/gui/component/addressbook-config.c +++ b/addressbook/gui/component/addressbook-config.c @@ -725,7 +725,8 @@ scope_optionmenu_activated (GtkWidget *item, AddressbookSourceDialog *dialog) dialog->scope = g_list_index (gtk_container_children (GTK_CONTAINER (item->parent)), item); - dialog->searching_modify_func (item, dialog); + if (dialog->searching_modify_func) + dialog->searching_modify_func (item, dialog); } static void -- cgit v1.2.3