aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/addressbook-config.c
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/gui/component/addressbook-config.c')
-rw-r--r--addressbook/gui/component/addressbook-config.c3
1 files changed, 2 insertions, 1 deletions
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