mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-14 12:41:07 +00:00
cssstylechange: Fix change printing
Only print the old value once, above the new one.
This commit is contained in:
parent
fe1a953e9d
commit
3b44a88ddb
@ -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");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user