aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-07-11 21:13:34 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-07-11 21:15:28 +0800
commit2c48f517c1c41d7162e1d9fba89807f812ad3f5f (patch)
tree57b716648d11016adc9f04687d7fff0b8d25b71e /addressbook
parent43442ac93b6262cc929574290124a74906248ab8 (diff)
downloadgsoc2013-evolution-2c48f517c1c41d7162e1d9fba89807f812ad3f5f.tar
gsoc2013-evolution-2c48f517c1c41d7162e1d9fba89807f812ad3f5f.tar.gz
gsoc2013-evolution-2c48f517c1c41d7162e1d9fba89807f812ad3f5f.tar.bz2
gsoc2013-evolution-2c48f517c1c41d7162e1d9fba89807f812ad3f5f.tar.lz
gsoc2013-evolution-2c48f517c1c41d7162e1d9fba89807f812ad3f5f.tar.xz
gsoc2013-evolution-2c48f517c1c41d7162e1d9fba89807f812ad3f5f.tar.zst
gsoc2013-evolution-2c48f517c1c41d7162e1d9fba89807f812ad3f5f.zip
Fix some compiler warnings.
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/gui/contact-list-editor/e-contact-list-editor.c6
1 files changed, 4 insertions, 2 deletions
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));