[tracker/tracker-search-bar-update: 1/2] tracker-search-bar: **** Don't commit this, just used to get building on old libs ****



commit 7fc86c747c1d83faad0226c5feb6c4f4e9dff250
Author: Martyn Russell <martyn lanedo com>
Date:   Fri Feb 4 19:50:49 2011 +0100

    tracker-search-bar: **** Don't commit this, just used to get building on old libs ****

 configure.ac                            |    2 +-
 src/tracker-search-bar/tracker-applet.c |   10 ++++++++++
 2 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 7280d47..039fc4c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -421,7 +421,7 @@ TRACKER_SEARCH_BAR_REQUIRED="glib-2.0       >= $GLIB_REQUIRED
                              gdk-pixbuf-2.0 >= $GDKPIXBUF_REQUIRED
                              pango          >= $PANGO_REQUIRED
 			     gee-1.0        >= $GEE_REQUIRED
-                             libpanelapplet-3.0"
+                             libpanelapplet-2.0"
 
 PKG_CHECK_MODULES(TRACKER_SEARCH_BAR, [$TRACKER_SEARCH_BAR_REQUIRED],
                   [have_tracker_search_bar=yes],
diff --git a/src/tracker-search-bar/tracker-applet.c b/src/tracker-search-bar/tracker-applet.c
index 831618f..7606dbb 100644
--- a/src/tracker-search-bar/tracker-applet.c
+++ b/src/tracker-search-bar/tracker-applet.c
@@ -407,9 +407,11 @@ applet_new (PanelApplet *parent_applet)
 	ui_path = g_build_filename (PKGDATADIR,
 	                            "tracker-search-bar-menu.xml",
 	                            NULL);
+#if 0
 	panel_applet_setup_menu_from_file (PANEL_APPLET (applet->parent),
 	                                   ui_path,
 	                                   action_group);
+#endif
 	g_free (ui_path);
 	g_object_unref (action_group);
 
@@ -447,6 +449,7 @@ applet_factory (PanelApplet *applet,
 	return FALSE;
 }
 
+#if 0
 /*
  * Generate the boilerplate to hook into GObject/Bonobo.
  */
@@ -455,3 +458,10 @@ PANEL_APPLET_OUT_PROCESS_FACTORY ("SearchBarFactory",
                                   "SearchBar",
                                   applet_factory,
                                   NULL)
+#else
+int
+main (int argc, char *argv[])
+{
+	return 0;
+}
+#endif



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]