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:
700b341
)
Revert the logic of the PangoContext check
author
Emmanuele Bassi
<ebassi@linux.intel.com>
Mon, 5 Jan 2009 16:44:52 +0000
(16:44 +0000)
committer
Emmanuele Bassi
<ebassi@linux.intel.com>
Mon, 5 Jan 2009 16:44:52 +0000
(16:44 +0000)
The branch that creates the global PangoContext should only run
if there is no global PangoContext already.
clutter/clutter-main.c
patch
|
blob
|
history
diff --git
a/clutter/clutter-main.c
b/clutter/clutter-main.c
index
588b00a
..
12bef38
100644
(file)
--- a/
clutter/clutter-main.c
+++ b/
clutter/clutter-main.c
@@
-452,7
+452,7
@@
update_pango_context (ClutterBackend *backend,
PangoContext *
_clutter_context_get_pango_context (ClutterMainContext *self)
{
- if (G_
LIKELY (self->pango_context
))
+ if (G_
UNLIKELY (self->pango_context == NULL
))
{
PangoContext *context;