[shotwell] Remove deprecated theme adaption



commit f6b5b243029e581b8f30d210f1ef58b3a410f364
Author: Jens Georg <mail jensge org>
Date:   Thu Apr 6 22:28:59 2017 +0200

    Remove deprecated theme adaption
    
    Signed-off-by: Jens Georg <mail jensge org>

 src/CustomComponents.vala |    9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)
---
diff --git a/src/CustomComponents.vala b/src/CustomComponents.vala
index 0a08c93..4e8ef8b 100644
--- a/src/CustomComponents.vala
+++ b/src/CustomComponents.vala
@@ -33,15 +33,8 @@ public class ThemeLoader {
         
         theme_colors = new LightweightColor[NUM_SUPPORTED_INTENSITIES];
 
-        Gtk.Settings settings = Gtk.Settings.get_default();
-        HashTable<string, Gdk.Color?> color_table = settings.color_hash;
-        Gdk.Color? base_color = color_table.lookup("bg_color");
-        if (base_color == null && !Gdk.Color.parse("#fff", out base_color))
-            error("can't parse color");
-
         RGBAnalyticPixel base_color_analytic_rgb =
-            RGBAnalyticPixel.from_quantized_components(base_color.red >> 8,
-            base_color.green >> 8, base_color.blue >> 8);
+            RGBAnalyticPixel.from_components(1.0f, 1.0f, 1.0f);
         HSVAnalyticPixel base_color_analytic_hsv =
             HSVAnalyticPixel.from_rgb(base_color_analytic_rgb);
 


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