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.
This commit is contained in:
Øyvind Kolås 2010-07-12 17:34:17 +01:00
parent 90acc6a2a9
commit 25dd0ae356

View 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 *