projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2b518e
)
efl_ui_layout: ensure that resize_obj is present before emitting signals
author
Marcel Hollerbach
<mail@marcel-hollerbach.de>
Fri, 29 Mar 2019 12:25:54 +0000
(13:25 +0100)
committer
JunsuChoi
<jsuya.choi@samsung.com>
Tue, 2 Apr 2019 04:24:22 +0000
(13:24 +0900)
otherwise there will be warnings because of calling api on NULL objects.
Differential Revision: https://phab.enlightenment.org/D8512
src/lib/elementary/efl_ui_layout.c
patch
|
blob
|
history
diff --git
a/src/lib/elementary/efl_ui_layout.c
b/src/lib/elementary/efl_ui_layout.c
index
e483a99
..
f5251b4
100644
(file)
--- a/
src/lib/elementary/efl_ui_layout.c
+++ b/
src/lib/elementary/efl_ui_layout.c
@@
-475,6
+475,9
@@
static void
_flush_mirrored_state(Eo *obj)
{
char prefix[4], state[10], signal[100];
+ ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
+
+ if (!wd->resize_obj) return;
if (efl_ui_widget_disabled_get(obj))
snprintf(state, sizeof(state), "disabled");