[tracker/needle: 49/53] tracker-needle: Fixed all warnings and build issues with Vala >= 0.11.



commit 871a37a17776d57540449bebf8247bf75f9e9d5c
Author: Martyn Russell <martyn lanedo com>
Date:   Fri Nov 12 23:07:14 2010 +0000

    tracker-needle: Fixed all warnings and build issues with Vala >= 0.11.

 src/tracker-needle/tracker-needle.vala |    5 -----
 src/tracker-needle/tracker-stats.vala  |    2 +-
 2 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/src/tracker-needle/tracker-needle.vala b/src/tracker-needle/tracker-needle.vala
index b9fd6b1..8184b8f 100644
--- a/src/tracker-needle/tracker-needle.vala
+++ b/src/tracker-needle/tracker-needle.vala
@@ -18,11 +18,6 @@
 //
 
 using Gtk;
-using Tracker.Sparql;
-using Tracker.Config;
-using Tracker.Stats;
-using Tracker.TagList;
-using Tracker.View;
 
 [CCode (cname = "TRACKER_UI_DIR")]
 extern static const string UIDIR;
diff --git a/src/tracker-needle/tracker-stats.vala b/src/tracker-needle/tracker-stats.vala
index 9cb14bc..5fe7eee 100644
--- a/src/tracker-needle/tracker-stats.vala
+++ b/src/tracker-needle/tracker-stats.vala
@@ -152,7 +152,7 @@ public class Tracker.Stats : Dialog {
 		this.vbox.spacing = 10;
 
 		// Add buttons to button area at the bottom
-		add_button (STOCK_CLOSE, ResponseType.CLOSE);
+		add_button (Stock.CLOSE, ResponseType.CLOSE);
 
 		// Connect signals
 		this.response.connect (on_response);



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