[shotwell/wip/phako/dark] Remove dead code



commit 6cbf61bde1b392417f7a5c9b4a66eca1a102269c
Author: Jens Georg <mail jensge org>
Date:   Sat Apr 21 14:49:24 2018 +0200

    Remove dead code

 src/Resources.vala |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/src/Resources.vala b/src/Resources.vala
index 3ce82bb..2aa32c7 100644
--- a/src/Resources.vala
+++ b/src/Resources.vala
@@ -1040,14 +1040,6 @@ along with Shotwell; if not, write to the Free Software Foundation, Inc.,
         Gtk.show_uri_on_window(window, uri, Gdk.CURRENT_TIME);
     }
     
-    public string to_css_color(Gdk.RGBA color) {
-        int r = (int) (color.red * 255);
-        int g = (int) (color.green * 255);
-        int b = (int) (color.blue * 255);
-        
-        return "rgb(%d, %d, %d)".printf(r, g, b);
-    }
-    
     public const int ALL_DATA = -1;
     
     private static Gee.Map<Gtk.Widget, Gtk.CssProvider> providers = null;


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