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:
47f8be4
)
interactive/touch-events: Protect x11-specific calls
author
Emmanuele Bassi
<ebassi@gnome.org>
Wed, 20 Jun 2012 07:52:40 +0000
(08:52 +0100)
committer
Emmanuele Bassi
<ebassi@gnome.org>
Wed, 20 Jun 2012 07:53:56 +0000
(08:53 +0100)
Use the CLUTTER_WINDOWING_X11 define to protect platform-specific calls
like clutter_x11_enable_xinput().
https://bugzilla.gnome.org/show_bug.cgi?id=678423
tests/interactive/test-touch-events.c
patch
|
blob
|
history
diff --git
a/tests/interactive/test-touch-events.c
b/tests/interactive/test-touch-events.c
index
905eea1
..
46c6d88
100644
(file)
--- a/
tests/interactive/test-touch-events.c
+++ b/
tests/interactive/test-touch-events.c
@@
-112,7
+112,9
@@
test_touch_events_main (int argc, char *argv[])
ClutterActor *stage, *canvas;
int i;
+#ifdef CLUTTER_WINDOWING_X11
clutter_x11_enable_xinput ();
+#endif
/* initialize Clutter */
if (clutter_init (&argc, &argv) != CLUTTER_INIT_SUCCESS)