From 57067e5c76ea8a96d05201711c83236bbdc240d7 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Sun, 11 Jun 2000 04:57:47 +0000 Subject: Fixed the widget reparenting. 2000-06-11 Christopher James Lahey * gui/component/e-select-names.c: Fixed the widget reparenting. svn path=/trunk/; revision=3521 --- addressbook/gui/component/e-select-names.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'addressbook/gui/component') 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, -- cgit v1.2.3