[tracker] tracker-preferences: Fix compile warning



commit dcd7db1a57ec7eed9dc54cd61fe741d5ce296982
Author: Sam Thursfield <sam afuera me uk>
Date:   Sat Mar 11 15:59:26 2017 +0000

    tracker-preferences: Fix compile warning
    
        ../src/tracker-preferences/tracker-preferences.vala:27.1-27.33: warning: the modifier `static' is not 
applicable to constants
        extern static const string UIDIR;
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

 src/tracker-preferences/tracker-preferences.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/tracker-preferences/tracker-preferences.vala 
b/src/tracker-preferences/tracker-preferences.vala
index c94cb49..df8c213 100644
--- a/src/tracker-preferences/tracker-preferences.vala
+++ b/src/tracker-preferences/tracker-preferences.vala
@@ -24,7 +24,7 @@ using Tracker;
 using Posix;
 
 [CCode (cname = "TRACKER_UI_DIR")]
-extern static const string UIDIR;
+extern const string UIDIR;
 
 public class Tracker.Preferences {
        private GLib.Settings settings_fts = null;


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