projects
/
profile
/
ivi
/
clutter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e034cd
)
actor: Fix a pre-condition check in set_text_direction()
author
Emmanuele Bassi
<ebassi@linux.intel.com>
Tue, 1 Dec 2009 16:06:57 +0000
(16:06 +0000)
committer
Emmanuele Bassi
<ebassi@linux.intel.com>
Tue, 1 Dec 2009 16:06:57 +0000
(16:06 +0000)
The check is failing because the condition should be:
text_dir != CLUTTER_TEXT_DIRECTION_DEFAULT
clutter/clutter-actor.c
patch
|
blob
|
history
diff --git
a/clutter/clutter-actor.c
b/clutter/clutter-actor.c
index
d7ef7d8
..
fcab0b6
100644
(file)
--- a/
clutter/clutter-actor.c
+++ b/
clutter/clutter-actor.c
@@
-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;