Set the signal handler to 0 when disconnecting it.
Otherwise we'll try to disconnect it again later. http://bugzilla.clutter-project.org/show_bug.cgi?id=2452
This commit is contained in:
parent
215d87abe9
commit
47d63c1c55
@ -92,7 +92,10 @@ clutter_actor_meta_real_set_actor (ClutterActorMeta *meta,
|
||||
return;
|
||||
|
||||
if (meta->priv->destroy_id != 0)
|
||||
{
|
||||
g_signal_handler_disconnect (meta->priv->actor, meta->priv->destroy_id);
|
||||
meta->priv->destroy_id = 0;
|
||||
}
|
||||
|
||||
meta->priv->actor = actor;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user