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:
7b1925d
)
clutter-backend: Fix the error check in _clutter_backend_create_stage
author
Neil Roberts
<neil@linux.intel.com>
Tue, 9 Feb 2010 18:33:09 +0000
(18:33 +0000)
committer
Neil Roberts
<neil@linux.intel.com>
Tue, 9 Feb 2010 18:33:09 +0000
(18:33 +0000)
Commit
d2bdd3cb62
fixed some compiler warnings but also broke the
ability to create a stage. Although not having warnings from the
compiler is nice, it is also nice to be able to create a stage so lets
not invert the meaning of the error check.
clutter/clutter-backend.c
patch
|
blob
|
history
diff --git
a/clutter/clutter-backend.c
b/clutter/clutter-backend.c
index
1ba5889
..
ed257d1
100644
(file)
--- a/
clutter/clutter-backend.c
+++ b/
clutter/clutter-backend.c
@@
-290,7
+290,7
@@
_clutter_backend_create_stage (ClutterBackend *backend,
else
stage_window = NULL;
- if (stage_window
!
= NULL)
+ if (stage_window
=
= NULL)
return NULL;
g_assert (CLUTTER_IS_STAGE_WINDOW (stage_window));