diff options
-rw-r--r-- | addressbook/ChangeLog | 5 | ||||
-rw-r--r-- | addressbook/gui/widgets/e-addressbook-view.c | 6 |
2 files changed, 6 insertions, 5 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 1244e7ee38..d3464f0426 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,5 +1,10 @@ 2003-03-03 Ettore Perazzoli <ettore@ximian.com> + * gui/widgets/e-addressbook-view.c (create_minicard_view): No need + to do any reparenting here; the widget is created with no parent. + +2003-03-03 Ettore Perazzoli <ettore@ximian.com> + * gui/component/select-names/e-select-names.c (e_select_names_init): Instead of using gtk_widget_unparent(), remove the widget from the container using gtk_container_remove(). diff --git a/addressbook/gui/widgets/e-addressbook-view.c b/addressbook/gui/widgets/e-addressbook-view.c index 8a4714bc19..c15337adf6 100644 --- a/addressbook/gui/widgets/e-addressbook-view.c +++ b/addressbook/gui/widgets/e-addressbook-view.c @@ -1184,12 +1184,8 @@ create_minicard_view (EAddressbookView *view) gtk_box_pack_start(GTK_BOX(minicard_hbox), scrolled_window, TRUE, TRUE, 0); alphabet = create_alphabet(view); - if (alphabet) { - g_object_ref (alphabet); - gtk_widget_unparent(alphabet); + if (alphabet) gtk_box_pack_start(GTK_BOX(minicard_hbox), alphabet, FALSE, FALSE, 0); - g_object_unref (alphabet); - } gtk_table_attach(GTK_TABLE(view), minicard_hbox, 0, 1, |