aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/gui')
-rw-r--r--addressbook/gui/component/e-select-names.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/addressbook/gui/component/e-select-names.c b/addressbook/gui/component/e-select-names.c
index b92c842844..517d071ede 100644
--- a/addressbook/gui/component/e-select-names.c
+++ b/addressbook/gui/component/e-select-names.c
@@ -165,8 +165,10 @@ e_select_names_init (ESelectNames *e_select_names)
if (!widget) {
return;
}
- gtk_widget_reparent(widget,
- GTK_WIDGET(e_select_names));
+ gtk_widget_ref(widget);
+ gtk_widget_unparent(widget);
+ gtk_box_pack_start(GTK_BOX(GNOME_DIALOG(e_select_names)->vbox), widget, TRUE, TRUE, 0);
+ gtk_widget_unref(widget);
gnome_dialog_append_buttons(GNOME_DIALOG(e_select_names),
GNOME_STOCK_BUTTON_OK,