mirror of
https://github.com/brl/mutter.git
synced 2024-11-10 07:56:14 -05:00
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:
parent
90acc6a2a9
commit
25dd0ae356
@ -563,7 +563,7 @@ ClutterTimeline *
|
|||||||
clutter_state_set_state (ClutterState *state,
|
clutter_state_set_state (ClutterState *state,
|
||||||
const gchar *target_state_name)
|
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,
|
clutter_state_warp_to_state (ClutterState *state,
|
||||||
const gchar *target_state_name)
|
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 *
|
static GParamSpec *
|
||||||
|
Loading…
Reference in New Issue
Block a user