[gimp/wip/animation: 326/373] plug-ins: animation must be finalized after the renderer.



commit 1ccc0f1539fe10404772fc9d1ac45784c909949f
Author: Jehan <jehan girinstud io>
Date:   Mon May 29 12:58:56 2017 +0200

    plug-ins: animation must be finalized after the renderer.

 plug-ins/animation-play/core/animation-playback.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plug-ins/animation-play/core/animation-playback.c 
b/plug-ins/animation-play/core/animation-playback.c
index b4b2da3..aeb50a9 100644
--- a/plug-ins/animation-play/core/animation-playback.c
+++ b/plug-ins/animation-play/core/animation-playback.c
@@ -576,10 +576,10 @@ animation_playback_set_property (GObject      *object,
         {
           Animation *animation;
 
-          if (playback->priv->animation)
-            g_object_unref (playback->priv->animation);
           if (playback->priv->renderer)
             g_object_unref (playback->priv->renderer);
+          if (playback->priv->animation)
+            g_object_unref (playback->priv->animation);
 
           animation = g_value_dup_object (value);
           playback->priv->animation = animation;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]