[clutter/clutter-1.20] Revert "actor: Plug a leak in the implicit transition removal"



commit 47df16ec3b7956dd1544616ec6b959db361ce0e9
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Wed Nov 26 12:46:51 2014 +0000

    Revert "actor: Plug a leak in the implicit transition removal"
    
    This reverts commit 158af1ff594d8984b59dcf90654ed04cd8c53e16.
    
    This commit introduced a regression, so the leak will have to be fixed
    in another way.

 clutter/clutter-actor.c |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/clutter/clutter-actor.c b/clutter/clutter-actor.c
index 33fe3e7..01c33cb 100644
--- a/clutter/clutter-actor.c
+++ b/clutter/clutter-actor.c
@@ -18790,14 +18790,6 @@ on_transition_stopped (ClutterTransition *transition,
 
       g_signal_emit (actor, actor_signals[TRANSITIONS_COMPLETED], 0);
     }
-
-  if (clos->is_implicit ||
-      clutter_transition_get_remove_on_complete (transition))
-    {
-      /* release the reference we acquired above */
-      g_object_unref (transition);
-    }
-
 }
 
 static void


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