[gimp/wip/animation: 150/197] plug-ins: animation must be finalized after the renderer.
- From: Jehan Pagès <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/wip/animation: 150/197] plug-ins: animation must be finalized after the renderer.
- Date: Sat, 7 Oct 2017 03:11:03 +0000 (UTC)
commit 1a4262d1a5eaf4569d9f78ae4a6259f065ee7530
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]