aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-binding.c
diff options
context:
space:
mode:
Diffstat (limited to 'e-util/e-binding.c')
-rw-r--r--e-util/e-binding.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/e-util/e-binding.c b/e-util/e-binding.c
index 26e23ee792..6a29166cc1 100644
--- a/e-util/e-binding.c
+++ b/e-util/e-binding.c
@@ -524,11 +524,13 @@ e_binding_transform_string_to_color (const GValue *src_value,
{
GdkColor color;
const gchar *string;
- gboolean success;
+ gboolean success = FALSE;
string = g_value_get_string (src_value);
- if (gdk_color_parse (string, &color))
+ if (gdk_color_parse (string, &color)) {
g_value_set_boxed (dst_value, &color);
+ success = TRUE;
+ }
return success;
}