diff options
Diffstat (limited to 'addressbook/gui/contact-editor/e-contact-quick-add.c')
-rw-r--r-- | addressbook/gui/contact-editor/e-contact-quick-add.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/addressbook/gui/contact-editor/e-contact-quick-add.c b/addressbook/gui/contact-editor/e-contact-quick-add.c index 549b8ecb83..ea3e7b6f35 100644 --- a/addressbook/gui/contact-editor/e-contact-quick-add.c +++ b/addressbook/gui/contact-editor/e-contact-quick-add.c @@ -279,6 +279,8 @@ source_selected (GtkWidget *source_option_menu, ESource *source, QuickAdd *qa) static GtkWidget * build_quick_add_dialog (QuickAdd *qa) { + ESourceList *source_list; + GConfClient *gconf_client; GtkWidget *dialog; GtkWidget *label; GtkTable *table; @@ -312,9 +314,6 @@ build_quick_add_dialog (QuickAdd *qa) if (qa->email) gtk_entry_set_text (GTK_ENTRY (qa->email_entry), qa->email); - ESourceList *source_list; - GConfClient *gconf_client; - gconf_client = gconf_client_get_default (); source_list = e_source_list_new_for_gconf (gconf_client, "/apps/evolution/addressbook/sources"); qa->option_menu = e_source_option_menu_new (source_list); |