actor: Just emit a relayout cycle warning
Currently, ClutterActor detects a relayout cycle (an actor causing a relayout to be queued from within an allocate() function) and aborts after printing out a warning. This might be a little bit too anal retentive, and it currently breaks GTK+ embedding inside clutter-gtk so we should probably relax the behaviour a bit. Now we just emit the warning but we still go ahead with the relayout.
This commit is contained in:
parent
821e622de6
commit
bf4818bd75
@ -4547,7 +4547,6 @@ clutter_actor_queue_relayout (ClutterActor *self)
|
||||
"not allowed",
|
||||
priv->name ? priv->name
|
||||
: G_OBJECT_TYPE_NAME (self));
|
||||
return;
|
||||
}
|
||||
|
||||
g_signal_emit (self, actor_signals[QUEUE_RELAYOUT], 0);
|
||||
|
Loading…
Reference in New Issue
Block a user