From 2c48f517c1c41d7162e1d9fba89807f812ad3f5f Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sun, 11 Jul 2010 09:13:34 -0400 Subject: Fix some compiler warnings. --- addressbook/gui/contact-list-editor/e-contact-list-editor.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'addressbook') diff --git a/addressbook/gui/contact-list-editor/e-contact-list-editor.c b/addressbook/gui/contact-list-editor/e-contact-list-editor.c index dc31d3c1fe..7453489f0a 100644 --- a/addressbook/gui/contact-list-editor/e-contact-list-editor.c +++ b/addressbook/gui/contact-list-editor/e-contact-list-editor.c @@ -751,6 +751,7 @@ contact_list_editor_select_button_clicked_cb (GtkWidget *widget) ENameSelectorDialog *dialog; EDestinationStore *store; GList *list, *iter; + GtkWindow *window; editor = contact_list_editor_extract (widget); @@ -774,8 +775,9 @@ contact_list_editor_select_button_clicked_cb (GtkWidget *widget) g_list_free (list); - e_name_selector_show_dialog (editor->priv->name_selector, - eab_editor_get_window (EAB_EDITOR (editor))); + window = eab_editor_get_window (EAB_EDITOR (editor)); + e_name_selector_show_dialog ( + editor->priv->name_selector, GTK_WIDGET (window)); gtk_dialog_run (GTK_DIALOG (dialog)); gtk_widget_hide (GTK_WIDGET (dialog)); -- cgit