[gnome-nibbles] Fix valac warnings about 'static const'



commit efd8955c3a37b3b2647d84ad4bbe651724cf5de7
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Wed Jul 27 23:57:14 2016 -0500

    Fix valac warnings about 'static const'

 src/nibbles-view.vala |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/nibbles-view.vala b/src/nibbles-view.vala
index abad817..1d7df20 100644
--- a/src/nibbles-view.vala
+++ b/src/nibbles-view.vala
@@ -47,7 +47,7 @@ private class WormActor : Clutter.Actor
 
 private class BonusTexture : GtkClutter.Texture
 {
-    public static const float SIZE_MULTIPLIER = 2;
+    public const float SIZE_MULTIPLIER = 2;
 
     public override void show ()
     {
@@ -73,7 +73,7 @@ private class BonusTexture : GtkClutter.Texture
 
 private class WarpTexture: GtkClutter.Texture
 {
-    public static const float SIZE_MULTIPLIER = 2;
+    public const float SIZE_MULTIPLIER = 2;
 
     public override void show ()
     {


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