diff options
author | Timm Bäder <mail@baedert.org> | 2019-08-19 11:06:04 +0200 |
---|---|---|
committer | Timm Bäder <mail@baedert.org> | 2019-09-09 17:36:24 +0200 |
commit | 75a48aed0b3d82fb73823db6976f195f1fa3456b (patch) | |
tree | 547ff23540ab8f165c417e8a64a0a96f7c2c82ae /gtk/gtkcssanimatedstyle.c | |
parent | a7f23ebe7dcb92f34cc9f3fcb284f9247bc1c62f (diff) | |
download | gtk+-75a48aed0b3d82fb73823db6976f195f1fa3456b.tar.gz |
cssanimatedstyle: Make set_animated_value transfer-full
Diffstat (limited to 'gtk/gtkcssanimatedstyle.c')
-rw-r--r-- | gtk/gtkcssanimatedstyle.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkcssanimatedstyle.c b/gtk/gtkcssanimatedstyle.c index 8f5f195800..ece7037bc6 100644 --- a/gtk/gtkcssanimatedstyle.c +++ b/gtk/gtkcssanimatedstyle.c @@ -145,7 +145,8 @@ gtk_css_animated_style_set_animated_value (GtkCssAnimatedStyle *style, if (g_ptr_array_index (style->animated_values, id)) _gtk_css_value_unref (g_ptr_array_index (style->animated_values, id)); - g_ptr_array_index (style->animated_values, id) = _gtk_css_value_ref (value); + + g_ptr_array_index (style->animated_values, id) = value; } |