state: swap clutter_state_set_state and clutter_state_warp_to_state
authorØyvind Kolås <pippin@linux.intel.com>
Mon, 12 Jul 2010 16:34:17 +0000 (17:34 +0100)
committerØyvind Kolås <pippin@linux.intel.com>
Mon, 12 Jul 2010 16:34:17 +0000 (17:34 +0100)
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

index 46671ef..a9b23fe 100644 (file)
@@ -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 *