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:24:31 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2016-10-29 23:24:31 +0200
commit72e3d4c55a6569d966059f762824c38d06055871 (patch)
treecc0013086494a7c97140ffdb4a0513a5f5aac245 /src/util/image.vala
parentb076314018e4b53d745823754a26eb6fb73a2801 (diff)
New upstream version 0.25.0upstream/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) {