diff --git a/clutter/clutter-actor-private.h b/clutter/clutter-actor-private.h index 32388df09..b00f2f7d0 100644 --- a/clutter/clutter-actor-private.h +++ b/clutter/clutter-actor-private.h @@ -309,6 +309,7 @@ void _clutter_actor_detach_clone ClutterActor *clone); void _clutter_actor_queue_redraw_on_clones (ClutterActor *actor); void _clutter_actor_queue_relayout_on_clones (ClutterActor *actor); +void _clutter_actor_queue_only_relayout (ClutterActor *actor); G_END_DECLS diff --git a/clutter/clutter-actor.c b/clutter/clutter-actor.c index cea7e9a2e..035c103c5 100644 --- a/clutter/clutter-actor.c +++ b/clutter/clutter-actor.c @@ -998,8 +998,6 @@ static void clutter_actor_update_map_state (ClutterActor *self, MapStateChange change); static void clutter_actor_unrealize_not_hiding (ClutterActor *self); -static void _clutter_actor_queue_only_relayout (ClutterActor *self); - static void _clutter_actor_get_relative_transformation_matrix (ClutterActor *self, ClutterActor *ancestor, CoglMatrix *matrix); @@ -7888,7 +7886,7 @@ _clutter_actor_queue_redraw_with_clip (ClutterActor *self, NULL /* effect */); } -static void +void _clutter_actor_queue_only_relayout (ClutterActor *self) { ClutterActorPrivate *priv = self->priv; diff --git a/clutter/clutter-bind-constraint.c b/clutter/clutter-bind-constraint.c index 3de8642b0..e711385c9 100644 --- a/clutter/clutter-bind-constraint.c +++ b/clutter/clutter-bind-constraint.c @@ -151,7 +151,7 @@ source_queue_relayout (ClutterActor *source, ClutterBindConstraint *bind) { if (bind->actor != NULL) - clutter_actor_queue_relayout (bind->actor); + _clutter_actor_queue_only_relayout (bind->actor); } static void diff --git a/clutter/clutter-snap-constraint.c b/clutter/clutter-snap-constraint.c index 8a7c63972..0e624c130 100644 --- a/clutter/clutter-snap-constraint.c +++ b/clutter/clutter-snap-constraint.c @@ -94,7 +94,7 @@ source_queue_relayout (ClutterActor *source, ClutterSnapConstraint *constraint) { if (constraint->actor != NULL) - clutter_actor_queue_relayout (constraint->actor); + _clutter_actor_queue_only_relayout (constraint->actor); } static void