diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-04-15 14:50:33 +0000 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-04-15 14:50:33 +0000 |
commit | 24d90866b4867e9490813cc5b495bf478c49d920 (patch) | |
tree | 05d1346b7b0787a30bd2beaffdff6c1f7e0ea961 /src/background.vala | |
parent | 5274b888c0d43535aa51d5a1746dccfe9dc7db31 (diff) | |
download | arctica-greeter-24d90866b4867e9490813cc5b495bf478c49d920.tar.gz arctica-greeter-24d90866b4867e9490813cc5b495bf478c49d920.tar.bz2 arctica-greeter-24d90866b4867e9490813cc5b495bf478c49d920.zip |
vala: Replace all 'static const' declaration by 'const'.
Diffstat (limited to 'src/background.vala')
-rw-r--r-- | src/background.vala | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/background.vala b/src/background.vala index 1278c9b..e94c703 100644 --- a/src/background.vala +++ b/src/background.vala @@ -223,14 +223,14 @@ class BackgroundLoader : Object gnome-desktop3 to expose this for our use instead of copying the code... */ - static const int QUAD_MAX_LEVEL_OF_RECURSION = 16; - static const int QUAD_MIN_LEVEL_OF_RECURSION = 2; - static const int QUAD_CORNER_WEIGHT_NW = 3; - static const int QUAD_CORNER_WEIGHT_NE = 1; - static const int QUAD_CORNER_WEIGHT_SE = 1; - static const int QUAD_CORNER_WEIGHT_SW = 3; - static const int QUAD_CORNER_WEIGHT_CENTER = 2; - static const int QUAD_CORNER_WEIGHT_TOTAL = (QUAD_CORNER_WEIGHT_NW + QUAD_CORNER_WEIGHT_NE + QUAD_CORNER_WEIGHT_SE + QUAD_CORNER_WEIGHT_SW + QUAD_CORNER_WEIGHT_CENTER); + const int QUAD_MAX_LEVEL_OF_RECURSION = 16; + const int QUAD_MIN_LEVEL_OF_RECURSION = 2; + const int QUAD_CORNER_WEIGHT_NW = 3; + const int QUAD_CORNER_WEIGHT_NE = 1; + const int QUAD_CORNER_WEIGHT_SE = 1; + const int QUAD_CORNER_WEIGHT_SW = 3; + const int QUAD_CORNER_WEIGHT_CENTER = 2; + const int QUAD_CORNER_WEIGHT_TOTAL = (QUAD_CORNER_WEIGHT_NW + QUAD_CORNER_WEIGHT_NE + QUAD_CORNER_WEIGHT_SE + QUAD_CORNER_WEIGHT_SW + QUAD_CORNER_WEIGHT_CENTER); /* Pixbuf utilities */ private Gdk.RGBA get_pixbuf_sample (uint8[] pixels, |