From 25dd0ae356e7e0486e2a56c21f53e601ec54ab54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Kol=C3=A5s?= Date: Mon, 12 Jul 2010 17:34:17 +0100 Subject: [PATCH] state: swap clutter_state_set_state and clutter_state_warp_to_state Got the boolean arguments for the old clutter_state_change wrong, making the methods do the opposite of what they should. --- clutter/clutter-state.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clutter/clutter-state.c b/clutter/clutter-state.c index 46671ef8b..a9b23fea1 100644 --- a/clutter/clutter-state.c +++ b/clutter/clutter-state.c @@ -563,7 +563,7 @@ ClutterTimeline * clutter_state_set_state (ClutterState *state, const gchar *target_state_name) { - return clutter_state_change (state, target_state_name, FALSE); + return clutter_state_change (state, target_state_name, TRUE); } /** @@ -583,7 +583,7 @@ ClutterTimeline * clutter_state_warp_to_state (ClutterState *state, const gchar *target_state_name) { - return clutter_state_change (state, target_state_name, TRUE); + return clutter_state_change (state, target_state_name, FALSE); } static GParamSpec *