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:
1906bd1
)
elm/gengrid: more null checks for setting mirrored state during construction
author
Mike Blumenkrantz
<zmike@samsung.com>
Wed, 29 May 2019 13:17:55 +0000
(09:17 -0400)
committer
Wonki Kim
<wonki_.kim@samsung.com>
Mon, 3 Jun 2019 06:58:35 +0000
(15:58 +0900)
Summary:
sd->obj is only non-null later in construction, so add even more checks for it
here
@fix
Depends on D8961
Reviewers: devilhorns
Reviewed By: devilhorns
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8962
src/lib/elementary/elm_gengrid.c
patch
|
blob
|
history
diff --git
a/src/lib/elementary/elm_gengrid.c
b/src/lib/elementary/elm_gengrid.c
index
6506466
..
17cd530
100755
(executable)
--- a/
src/lib/elementary/elm_gengrid.c
+++ b/
src/lib/elementary/elm_gengrid.c
@@
-4879,7
+4879,7
@@
_mirrored_set(Evas_Object *obj,
ELM_GENGRID_DATA_GET(obj, sd);
- if (efl_finalized_get(sd->obj))
+ if (
sd->obj &&
efl_finalized_get(sd->obj))
_item_cache_zero(sd);
efl_ui_mirrored_set(efl_super(obj, MY_CLASS), rtl);