diff options
-rw-r--r-- | filter/ChangeLog | 4 | ||||
-rw-r--r-- | filter/e-search-bar.c | 3 | ||||
-rw-r--r-- | widgets/misc/e-search-bar.c | 3 |
3 files changed, 8 insertions, 2 deletions
diff --git a/filter/ChangeLog b/filter/ChangeLog index 51df7eb209..7c0ddfb425 100644 --- a/filter/ChangeLog +++ b/filter/ChangeLog @@ -1,3 +1,7 @@ +2000-12-12 Christopher James Lahey <clahey@helixcode.com> + + * e-search-bar.c (esb_pack_menubar): Fixed some warnings. + 2000-12-11 Jeffrey Stedfast <fejj@helixcode.com> * filter-folder.c (button_clicked): Added a kludge, 'is_active' diff --git a/filter/e-search-bar.c b/filter/e-search-bar.c index d2370cc1f6..38ac0c5249 100644 --- a/filter/e-search-bar.c +++ b/filter/e-search-bar.c @@ -25,6 +25,7 @@ #include "e-search-bar.h" #include <gal/widgets/e-unicode.h> +#include <gal/widgets/e-gui-utils.h> 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); 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 <gal/widgets/e-unicode.h> +#include <gal/widgets/e-gui-utils.h> 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); |