diff options
author | Mike Blumenkrantz <zmike@samsung.com> | 2019-05-29 09:17:55 -0400 |
---|---|---|
committer | Mike Blumenkrantz <zmike@samsung.com> | 2019-05-29 12:29:03 -0400 |
commit | da877d9e638616555915e1c7648040747f395428 (patch) | |
tree | b94206deeef1deff7d9f3070d620cbd559a6cd10 | |
parent | 1ba2a99b9a8e96f60e31aa48fe6126307e8983b2 (diff) | |
download | efl-da877d9e638616555915e1c7648040747f395428.tar.gz |
elm/gengrid: more null checks for setting mirrored state during construction
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
-rw-r--r-- | src/lib/elementary/elm_gengrid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elementary/elm_gengrid.c b/src/lib/elementary/elm_gengrid.c index 50b0996a37..eb9248abaf 100644 --- a/src/lib/elementary/elm_gengrid.c +++ b/src/lib/elementary/elm_gengrid.c @@ -3592,7 +3592,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); |