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/ChangeLog | 4 ++++ addressbook/gui/component/e-select-names.c | 6 ++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 4dc536ccf1..93d7fc1de3 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,7 @@ +2000-06-11 Christopher James Lahey + + * gui/component/e-select-names.c: Fixed the widget reparenting. + 2000-06-11 Christopher James Lahey * gui/component/Makefile.am: Added glade files. 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