projects
/
platform
/
core
/
uifw
/
libds-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2249b48
)
example: check if a input_method_context is null.
88/280988/1
author
SooChan Lim
<sc1.lim@samsung.com>
Tue, 6 Sep 2022 07:43:38 +0000
(16:43 +0900)
committer
Tizen Window System
<tizen.windowsystem@gmail.com>
Wed, 7 Sep 2022 09:50:57 +0000
(18:50 +0900)
Change-Id: I284fec4336d6235e2f8c88985c8965a6448fd6e7
examples/tinyds-tdm.c
patch
|
blob
|
history
diff --git
a/examples/tinyds-tdm.c
b/examples/tinyds-tdm.c
index 2108efc062607705f983e547c22258443ec040c7..a797ca26f2800ac72dba1533fa5140620a70e37d 100644
(file)
--- a/
examples/tinyds-tdm.c
+++ b/
examples/tinyds-tdm.c
@@
-2513,6
+2513,10
@@
add_new_input_method_context(struct tinyds_input_method *input_method,
context->input = text_input;
context->context = ds_tizen_input_method_create_context(input_method->input_method);
+ if (context->context == NULL) {
+ ds_err("ds_tizen_input_method_create_context() failed.");
+ return false;
+ }
context->destroy.notify = context_handle_destroy;
ds_tizen_input_method_context_add_destroy_listener(context->context,