actor: Fix a pre-condition check in set_text_direction()
The check is failing because the condition should be: text_dir != CLUTTER_TEXT_DIRECTION_DEFAULT
This commit is contained in:
parent
3e034cda58
commit
b43e804c07
@ -9412,7 +9412,7 @@ clutter_actor_set_text_direction (ClutterActor *self,
|
||||
ClutterActorPrivate *priv;
|
||||
|
||||
g_return_if_fail (CLUTTER_IS_ACTOR (self));
|
||||
g_return_if_fail (text_dir == CLUTTER_TEXT_DIRECTION_DEFAULT);
|
||||
g_return_if_fail (text_dir != CLUTTER_TEXT_DIRECTION_DEFAULT);
|
||||
|
||||
priv = self->priv;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user