From ad6bd2ee88770c2ce86f81f7a64b6b121c3418d6 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Mon, 1 Feb 2010 12:18:10 +0000 Subject: [PATCH] actor: Reword the allocation cycle warning Since we're allowing allocation cycles saying that calling queue_relayout() inside an allocation cycle "is not allowed" is kind of confusing. We should say that "it is not recommended". --- clutter/clutter-actor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clutter/clutter-actor.c b/clutter/clutter-actor.c index 2419ab554..31570c08f 100644 --- a/clutter/clutter-actor.c +++ b/clutter/clutter-actor.c @@ -4582,7 +4582,7 @@ clutter_actor_queue_relayout (ClutterActor *self) { g_warning ("The actor '%s' is currently inside an allocation " "cycle; calling clutter_actor_queue_relayout() is " - "not allowed", + "not recommended", priv->name ? priv->name : G_OBJECT_TYPE_NAME (self)); }