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:
d72558d
)
tests: Make sure we return 0 only on error
author
Tomeu Vizoso
<tomeu.vizoso@collabora.com>
Thu, 14 Jun 2012 09:17:05 +0000
(11:17 +0200)
committer
Tomeu Vizoso
<tomeu.vizoso@collabora.com>
Thu, 14 Jun 2012 09:17:05 +0000
(11:17 +0200)
tests/conform/events-touch.c
patch
|
blob
|
history
diff --git
a/tests/conform/events-touch.c
b/tests/conform/events-touch.c
index
52ee4d7
..
237a245
100644
(file)
--- a/
tests/conform/events-touch.c
+++ b/
tests/conform/events-touch.c
@@
-350,13
+350,13
@@
init_uinput (void)
goto error;
}
- return
0
;
+ return
1
;
error:
if (fd != -1)
close (fd);
- return
-1
;
+ return
0
;
}
#endif /* defined CLUTTER_WINDOWING_X11 && OS_LINUX && HAVE_XINPUT_2_2 */