summaryrefslogtreecommitdiff
path: root/src/util/image.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2016-10-29 23:25:59 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2016-10-29 23:25:59 +0200
commit6944ad9f9346341ee0fd120ec3ed0b7b56406436 (patch)
treeae59422da384a9463c306e1983be5ac46ff97c7d /src/util/image.vala
parent803e11e1c311a7ba4923d8d438eafa7ff62b463d (diff)
parent72e3d4c55a6569d966059f762824c38d06055871 (diff)
Merge tag 'upstream/0.25.0'
Upstream version 0.25.0
Diffstat (limited to 'src/util/image.vala')
-rw-r--r--src/util/image.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/image.vala b/src/util/image.vala
index 92e276a..db872df 100644
--- a/src/util/image.vala
+++ b/src/util/image.vala
@@ -115,8 +115,8 @@ private const string fallback_image_missing[] = {
};
bool is_color_parsable(string spec) {
- Gdk.Color color;
- return Gdk.Color.parse(spec, out color);
+ var color = Gdk.RGBA ();
+ return color.parse(spec);
}
Gdk.RGBA parse_color(string spec) {