From 7f1a408cd36b60d9dbf9fb5f4ba2299ce7529761 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Tue, 12 Dec 2000 07:38:26 +0000 Subject: Fixed some warnings. 2000-12-12 Christopher James Lahey * e-search-bar.c (esb_pack_menubar): Fixed some warnings. svn path=/trunk/; revision=6940 --- widgets/misc/e-search-bar.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'widgets') diff --git a/widgets/misc/e-search-bar.c b/widgets/misc/e-search-bar.c index d2370cc1f6..38ac0c5249 100644 --- a/widgets/misc/e-search-bar.c +++ b/widgets/misc/e-search-bar.c @@ -25,6 +25,7 @@ #include "e-search-bar.h" #include +#include static void e_search_bar_init (ESearchBar *card); static void e_search_bar_class_init (ESearchBarClass *klass); @@ -173,7 +174,7 @@ esb_pack_menubar(ESearchBar *esb, ESearchBarItem *items) gtk_widget_show_all (menu); menuitem = gnome_stock_menu_item(GNOME_STOCK_MENU_SEARCH, _("Sear_ch")); - e_container_foreach_leaf(GTK_CONTAINER(menuitem), esb_check_labels); + e_container_foreach_leaf(GTK_CONTAINER(menuitem), esb_check_labels, NULL); gtk_menu_item_set_submenu(GTK_MENU_ITEM(menuitem), menu); gtk_widget_show (menuitem); -- cgit