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:
Emmanuele Bassi 2009-12-01 16:06:57 +00:00
parent 3e034cda58
commit b43e804c07

View File

@ -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;