aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/select-names/e-select-names.c
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/gui/component/select-names/e-select-names.c')
-rw-r--r--addressbook/gui/component/select-names/e-select-names.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/addressbook/gui/component/select-names/e-select-names.c b/addressbook/gui/component/select-names/e-select-names.c
index b8d3ec77cc..aae358905a 100644
--- a/addressbook/gui/component/select-names/e-select-names.c
+++ b/addressbook/gui/component/select-names/e-select-names.c
@@ -480,7 +480,7 @@ e_select_names_init (ESelectNames *e_select_names)
return;
}
gtk_widget_ref(widget);
- gtk_widget_unparent(widget);
+ gtk_container_remove(GTK_CONTAINER(widget->parent), widget);
gtk_box_pack_start(GTK_BOX(GTK_DIALOG(e_select_names)->vbox), widget, TRUE, TRUE, 0);
gtk_widget_unref(widget);
@@ -625,7 +625,7 @@ e_select_names_dispose (GObject *object)
GtkWidget*
e_select_names_new (void)
{
- GtkWidget *widget = g_object_new (E_TYPE_SELECT_NAMES, NULL);
+ GtkWidget *widget = g_object_new (E_TYPE_SELECT_NAMES, "modal", FALSE, NULL);
return widget;
}