[tracker] tracker-needle: Fix build with GLib 2.31



commit fe7588615a0180bb6ecd9c48cb958bb8af988d2e
Author: JÃrg Billeter <j bitron ch>
Date:   Tue Feb 7 09:00:05 2012 +0100

    tracker-needle: Fix build with GLib 2.31

 src/tracker-needle/tracker-view.vala |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/tracker-needle/tracker-view.vala b/src/tracker-needle/tracker-view.vala
index c48705d..8ffa810 100644
--- a/src/tracker-needle/tracker-view.vala
+++ b/src/tracker-needle/tracker-view.vala
@@ -58,7 +58,7 @@ public class Tracker.View : ScrolledWindow {
 	}
 
 	private Widget view = null;
-	private Menu context_menu;
+	private Gtk.Menu context_menu;
 
 	private void store_row_changed (TreeModel model,
 	                                TreePath  path,
@@ -446,16 +446,16 @@ public class Tracker.View : ScrolledWindow {
 		// Set up context menu
 		view.button_press_event.connect (view_button_press_event);
 
-		context_menu = new Menu ();
+		context_menu = new Gtk.Menu ();
 
-		var item = new MenuItem.with_mnemonic (_("_Show Parent Directory"));
+		var item = new Gtk.MenuItem.with_mnemonic (_("_Show Parent Directory"));
 		item.activate.connect (context_menu_directory_clicked);
 		context_menu.append (item);
 
 		var separator = new SeparatorMenuItem ();
 		context_menu.append (separator);
 
-		item = new MenuItem.with_mnemonic (_("_Tags..."));
+		item = new Gtk.MenuItem.with_mnemonic (_("_Tags..."));
 		item.activate.connect (context_menu_tags_clicked);
 		context_menu.append (item);
 



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