diff options
author | Timm Bäder <mail@baedert.org> | 2017-07-22 09:22:56 +0200 |
---|---|---|
committer | Timm Bäder <mail@baedert.org> | 2017-07-22 19:36:05 +0200 |
commit | 3b44a88ddb9143436336d247847128bcec339c70 (patch) | |
tree | 85e108414a813c7be8d3575ddcaa17ff3473cfd1 /gtk/gtkcssstylechange.c | |
parent | fe1a953e9d73fe3c98dc855751aa6e316c223f44 (diff) | |
download | gtk+-3b44a88ddb9143436336d247847128bcec339c70.tar.gz |
cssstylechange: Fix change printing
Only print the old value once, above the new one.
Diffstat (limited to 'gtk/gtkcssstylechange.c')
-rw-r--r-- | gtk/gtkcssstylechange.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gtk/gtkcssstylechange.c b/gtk/gtkcssstylechange.c index 400dfe8418..00a6802144 100644 --- a/gtk/gtkcssstylechange.c +++ b/gtk/gtkcssstylechange.c @@ -129,10 +129,8 @@ gtk_css_style_change_print (GtkCssStyleChange *change, prop = _gtk_css_style_property_lookup_by_id (i); name = _gtk_style_property_get_name (GTK_STYLE_PROPERTY (prop)); - value = gtk_css_style_get_value (old, i); - _gtk_css_value_print (value, string); - g_string_append_printf (string, "%s: ", name); + value = gtk_css_style_get_value (old, i); _gtk_css_value_print (value, string); g_string_append (string, "\n"); |