[shotwell] Remove dead code
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [shotwell] Remove dead code
- Date: Sun, 22 Apr 2018 16:50:18 +0000 (UTC)
commit d5a974a2324995ba65ad0eae4220580e0260d6cf
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 543d6ea..2de7f93 100644
--- a/src/Resources.vala
+++ b/src/Resources.vala
@@ -1004,14 +1004,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]