projects
/
profile
/
ivi
/
weston-ivi-shell.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
814f0ee
)
editor: do not crash when text input manager is not available
author
Olivier Blin
<olivier.blin@softathome.com>
Tue, 16 Sep 2014 17:13:17 +0000
(19:13 +0200)
committer
Pekka Paalanen
<pekka.paalanen@collabora.co.uk>
Wed, 17 Sep 2014 10:55:24 +0000
(13:55 +0300)
[Pekka Paalanen: whitespace fix]
Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
clients/editor.c
patch
|
blob
|
history
diff --git
a/clients/editor.c
b/clients/editor.c
index
66cba0b
..
421f8fe
100644
(file)
--- a/
clients/editor.c
+++ b/
clients/editor.c
@@
-1359,6
+1359,11
@@
main(int argc, char *argv[])
display_set_user_data(editor.display, &editor);
display_set_global_handler(editor.display, global_handler);
+ if (editor.text_input_manager == NULL) {
+ fprintf(stderr, "No text input manager global\n");
+ return -1;
+ }
+
editor.window = window_create(editor.display);
editor.widget = window_frame_create(editor.window, &editor);