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:
82fd81f
)
input_method: check if a resource of input_method is null.
89/280989/1
author
SooChan Lim
<sc1.lim@samsung.com>
Tue, 6 Sep 2022 07:44:56 +0000
(16:44 +0900)
committer
Tizen Window System
<tizen.windowsystem@gmail.com>
Wed, 7 Sep 2022 09:50:57 +0000
(18:50 +0900)
Change-Id: I5932828b6ca1fefbdb81c2d747856d0761e5bd5b
src/input_method/input_method.c
patch
|
blob
|
history
diff --git
a/src/input_method/input_method.c
b/src/input_method/input_method.c
index 138193fde1fa7492aac16b1d37265dbe67d6f166..0c16b287eeba7fefaf270b566d1f4918e78d3ead 100644
(file)
--- a/
src/input_method/input_method.c
+++ b/
src/input_method/input_method.c
@@
-227,7
+227,10
@@
ds_tizen_input_method_create_context(struct ds_tizen_input_method *input_method)
}
binding = input_method->resource;
- if (!binding) return NULL;
+ if (!binding) {
+ ds_err("context. there is no wl_resource_create() failed.");
+ return NULL;
+ }
context->resource = wl_resource_create(wl_resource_get_client(binding),
&zwp_input_method_context_v1_interface, INPUT_METHOD_VERSION, 0);
if (context->resource == NULL) {