aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-09-14 02:59:05 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-09-14 02:59:05 +0800
commita24242acd4924aa88625b32f1d96cb92cadbbf7c (patch)
treeb966d6c5f72ccd5b8e32021d7197e3095263f6e8 /widgets/misc
parentc9ee98edc7223d480a1da4f5feddcb70d1a3ac8e (diff)
downloadgsoc2013-evolution-a24242acd4924aa88625b32f1d96cb92cadbbf7c.tar
gsoc2013-evolution-a24242acd4924aa88625b32f1d96cb92cadbbf7c.tar.gz
gsoc2013-evolution-a24242acd4924aa88625b32f1d96cb92cadbbf7c.tar.bz2
gsoc2013-evolution-a24242acd4924aa88625b32f1d96cb92cadbbf7c.tar.lz
gsoc2013-evolution-a24242acd4924aa88625b32f1d96cb92cadbbf7c.tar.xz
gsoc2013-evolution-a24242acd4924aa88625b32f1d96cb92cadbbf7c.tar.zst
gsoc2013-evolution-a24242acd4924aa88625b32f1d96cb92cadbbf7c.zip
Don't unref the old dropdown, we don't "own" it.
2001-09-13 Jeffrey Stedfast <fejj@ximian.com> * e-search-bar.c (set_dropdown): Don't unref the old dropdown, we don't "own" it. svn path=/trunk/; revision=12805
Diffstat (limited to 'widgets/misc')
-rw-r--r--widgets/misc/ChangeLog5
-rw-r--r--widgets/misc/e-search-bar.c3
2 files changed, 5 insertions, 3 deletions
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog
index 5bd370d5d0..b57cc24d41 100644
--- a/widgets/misc/ChangeLog
+++ b/widgets/misc/ChangeLog
@@ -1,3 +1,8 @@
+2001-09-13 Jeffrey Stedfast <fejj@ximian.com>
+
+ * e-search-bar.c (set_dropdown): Don't unref the old dropdown, we
+ don't "own" it.
+
2001-09-13 Larry Ewing <lewing@ximian.com>
* e-search-bar.c (set_dropdown): unref the old dropdown_menu if
diff --git a/widgets/misc/e-search-bar.c b/widgets/misc/e-search-bar.c
index cadc921593..495bc93afb 100644
--- a/widgets/misc/e-search-bar.c
+++ b/widgets/misc/e-search-bar.c
@@ -325,9 +325,6 @@ set_dropdown (ESearchBar *esb,
GtkWidget *dropdown;
int i;
- if (esb->dropdown_menu)
- gtk_widget_unref (esb->dropdown_menu);
-
menu = esb->dropdown_menu = gtk_menu_new ();
for (i = 0; items[i].id != -1; i++)
add_dropdown (esb, items + i);