aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-search-bar.c
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/e-search-bar.c
parentc9ee98edc7223d480a1da4f5feddcb70d1a3ac8e (diff)
downloadgsoc2013-evolution-a24242acd4924aa88625b32f1d96cb92cadbbf7c.tar.gz
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/e-search-bar.c')
-rw-r--r--widgets/misc/e-search-bar.c3
1 files changed, 0 insertions, 3 deletions
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);