Test for possible vala fix
authorQball Cow <qball@stuffkeeper.org>
Tue, 6 Apr 2010 21:39:36 +0000 (23:39 +0200)
committerQball Cow <qball@stuffkeeper.org>
Tue, 6 Apr 2010 21:39:36 +0000 (23:39 +0200)
configure.ac
src/Providers/music-tree.vala
src/browsers/gmpc-metadata-browser2.vala
src/browsers/gmpc-nowplaying2.vala
src/vala/gmpc-database-update-tracker.vala
src/vala/gmpc-easy-command.vala
src/vala/gmpc-metadata-prefetcher.vala
src/vala/gmpc-test-plugin.vala

index 6e1af05..d77514a 100644 (file)
@@ -364,7 +364,7 @@ if test x${GOB2} = x""; then
        exit 0;
 fi
 
-AM_PROG_VALAC([0.8.0])
+AM_PROG_VALAC([0.7.0])
 
 if test x${VALAC} = x""; then
     exit 0;
index 293a61f..d4e0897 100644 (file)
@@ -38,7 +38,7 @@ private const string some_unique_name_lp = Config.VERSION;
 public class Gmpc.Provider.MusicTree : Gmpc.Plugin.Base, Gmpc.Plugin.MetaDataIface 
 {
     private GLib.Regex image_filename = null;
-    private int[] version = {0,0,2};
+    private const int[] version = {0,0,2};
 
     
     public override unowned int[] get_version() {
index 6c33019..45fea16 100644 (file)
@@ -523,7 +523,7 @@ public class  Gmpc.MetadataBrowser : Gmpc.Plugin.Base, Gmpc.Plugin.BrowserIface,
         Gdk.Color.parse(foreground,out this.foreground);
     }
 
-    private int[] version =  {0,0,0};
+    private const int[] version =  {0,0,0};
     public override  unowned int[] get_version() {
         return version;
     }
index 756be89..a0695b1 100644 (file)
@@ -62,7 +62,7 @@ namespace Gmpc {
 
             }
             /* Version of the plugin*/
-            public int[] version =  {0,0,0};
+            private const int[] version =  {0,0,0};
             public override  unowned int[] get_version() {
                 return version;
             }
index 6d2bff4..fd9e74b 100644 (file)
@@ -26,8 +26,8 @@ private const string some_unique_name_mb = Config.VERSION;
 
 public class  Gmpc.Plugin.DatabaseUpdateTracker : Gmpc.Plugin.Base {
     private Gtk.Image image = null;
-    public int[] version = {0,0,2};
 
+    private const int[] version = {0,0,2};
     public override unowned int[] get_version() {
         return this.version;
     }
index c11b034..4531336 100644 (file)
@@ -43,7 +43,7 @@ public class Gmpc.Easy.Command: Gmpc.Plugin.Base {
        /***
         * plugin setup
         */
-       private int[] version = {0,0,1};
+       private const int[] version = {0,0,1};
 
 
        /**
index 2a60ea9..375d8e3 100644 (file)
@@ -24,7 +24,7 @@ using Gmpc;
 private const bool use_transition_mpf = Gmpc.use_transition;
 
 public class  Gmpc.Plugin.MetadataPrefetcher : Gmpc.Plugin.Base {
-    public int[] version = {0,0,2};
+    private const int[] version = {0,0,2};
 
     public override unowned int[] get_version() {
         return this.version;
index f8d9a73..c528494 100644 (file)
@@ -720,7 +720,7 @@ public class Gmpc.MetaData.EditWindow : Gtk.Window {
 
 
 public class  Gmpc.TestPlugin : Gmpc.Plugin.Base,Gmpc.Plugin.ToolMenuIface, Gmpc.Plugin.SongListIface {
-    public int[] version = {0,0,2};
+    private const int[] version = {0,0,2};
     /*********************************************************************************
      * Plugin base functions 
      * These functions are required.