aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-search-bar.c
diff options
context:
space:
mode:
authorTrent Lloyd <lathiat@sixlabs.org>2004-03-13 10:39:28 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-03-13 10:39:28 +0800
commitb9944eb5c744f190e6363808cff4f4b65e7ab63a (patch)
treea972638321ed6b84c773f3849f75c06cc8e38129 /widgets/misc/e-search-bar.c
parent2fb1a91078e5ca1f5199019a82e23fb080a0b98b (diff)
downloadgsoc2013-evolution-b9944eb5c744f190e6363808cff4f4b65e7ab63a.tar
gsoc2013-evolution-b9944eb5c744f190e6363808cff4f4b65e7ab63a.tar.gz
gsoc2013-evolution-b9944eb5c744f190e6363808cff4f4b65e7ab63a.tar.bz2
gsoc2013-evolution-b9944eb5c744f190e6363808cff4f4b65e7ab63a.tar.lz
gsoc2013-evolution-b9944eb5c744f190e6363808cff4f4b65e7ab63a.tar.xz
gsoc2013-evolution-b9944eb5c744f190e6363808cff4f4b65e7ab63a.tar.zst
gsoc2013-evolution-b9944eb5c744f190e6363808cff4f4b65e7ab63a.zip
move function about setup_bonobo_menus which requires it so its not
2004-03-13 Trent Lloyd <lathiat@sixlabs.org> * e-search-bar.c (remove_bonobo_menus): move function about setup_bonobo_menus which requires it so its not implicitly defined svn path=/trunk/; revision=25055
Diffstat (limited to 'widgets/misc/e-search-bar.c')
-rw-r--r--widgets/misc/e-search-bar.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/widgets/misc/e-search-bar.c b/widgets/misc/e-search-bar.c
index 84e3306eeb..c29c1519f8 100644
--- a/widgets/misc/e-search-bar.c
+++ b/widgets/misc/e-search-bar.c
@@ -519,6 +519,15 @@ append_xml_menu_item (GString *xml,
}
static void
+remove_bonobo_menus (ESearchBar *esb)
+{
+ if (bonobo_ui_component_get_container (esb->ui_component) == CORBA_OBJECT_NIL)
+ return;
+
+ bonobo_ui_component_rm (esb->ui_component, "/menu/SearchPlaceholder", NULL);
+}
+
+static void
setup_bonobo_menus (ESearchBar *esb)
{
GString *xml;
@@ -563,15 +572,6 @@ setup_bonobo_menus (ESearchBar *esb)
}
static void
-remove_bonobo_menus (ESearchBar *esb)
-{
- if (bonobo_ui_component_get_container (esb->ui_component) == CORBA_OBJECT_NIL)
- return;
-
- bonobo_ui_component_rm (esb->ui_component, "/menu/SearchPlaceholder", NULL);
-}
-
-static void
update_bonobo_menus (ESearchBar *esb)
{
setup_bonobo_menus (esb);