aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2003-03-04 06:20:32 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2003-03-04 06:20:32 +0800
commit45e27ae4921b3636e15f804169439a0f54594031 (patch)
tree1b249fc7b571889d9b2dd9582b9ed2df2eaca322 /addressbook
parent6446d0fbd3f16c43c576a4cc152dda060774e936 (diff)
downloadgsoc2013-evolution-45e27ae4921b3636e15f804169439a0f54594031.tar
gsoc2013-evolution-45e27ae4921b3636e15f804169439a0f54594031.tar.gz
gsoc2013-evolution-45e27ae4921b3636e15f804169439a0f54594031.tar.bz2
gsoc2013-evolution-45e27ae4921b3636e15f804169439a0f54594031.tar.lz
gsoc2013-evolution-45e27ae4921b3636e15f804169439a0f54594031.tar.xz
gsoc2013-evolution-45e27ae4921b3636e15f804169439a0f54594031.tar.zst
gsoc2013-evolution-45e27ae4921b3636e15f804169439a0f54594031.zip
(create_minicard_view): No need
to do any reparenting here; the widget is created with no parent. svn path=/trunk/; revision=20129
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog5
-rw-r--r--addressbook/gui/widgets/e-addressbook-view.c6
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,