[tracker/tracker-0.8] tracker-search-tool: Fix build with newer versions of Vala



commit 36dfdceacd74c8cd4180ca5a0a2b07abff8a7a75
Author: Martyn Russell <martyn lanedo com>
Date:   Wed Apr 27 10:40:54 2011 +0100

    tracker-search-tool: Fix build with newer versions of Vala

 src/tracker-search-tool/tracker-entry.gs |    4 ++--
 src/tracker-search-tool/tracker-utils.gs |    3 ++-
 2 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/src/tracker-search-tool/tracker-entry.gs b/src/tracker-search-tool/tracker-entry.gs
index 4b44ff9..0e3cb4c 100644
--- a/src/tracker-search-tool/tracker-entry.gs
+++ b/src/tracker-search-tool/tracker-entry.gs
@@ -115,8 +115,8 @@ class TrackerSearchEntry  : ComboBoxEntry implements Gtk.Activatable
 
         return false
 
-    def sync_action_properties (action : Action)
+    def sync_action_properties (action : Gtk.Action)
         return
 
-    def update (action : Action, prop : string)
+    def update (action : Gtk.Action, prop : string)
         return
diff --git a/src/tracker-search-tool/tracker-utils.gs b/src/tracker-search-tool/tracker-utils.gs
index 1cdc2ba..e2322ce 100644
--- a/src/tracker-search-tool/tracker-utils.gs
+++ b/src/tracker-search-tool/tracker-utils.gs
@@ -48,7 +48,8 @@ const  extern static  UIDIR : string
 const  extern static  SRCDIR : string
 
 
-class TrackerUtils
+namespace TrackerUtils
+
 /* static methods only as this is a utility class that wont ever get substantiated */
 
     def static EscapeSparql (sparql : string, add_wildcard : bool) : string



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