From 24d90866b4867e9490813cc5b495bf478c49d920 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Sat, 15 Apr 2017 14:50:33 +0000 Subject: vala: Replace all 'static const' declaration by 'const'. --- src/background.vala | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/background.vala') 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, -- cgit v1.2.3