mirror of
https://github.com/brl/mutter.git
synced 2024-11-12 17:27:03 -05:00
actor: Plug a leak in the implicit transition removal
We need to release the temporary reference we acquired in order for the signal emission to work. https://bugzilla.gnome.org/show_bug.cgi?id=734761 Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
This commit is contained in:
parent
018c1665ee
commit
158af1ff59
@ -18724,6 +18724,14 @@ on_transition_stopped (ClutterTransition *transition,
|
|||||||
|
|
||||||
g_signal_emit (actor, actor_signals[TRANSITIONS_COMPLETED], 0);
|
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
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user