diff options
-rw-r--r-- | widgets/misc/ChangeLog | 5 | ||||
-rw-r--r-- | widgets/misc/e-search-bar.c | 3 |
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); |