diff options
author | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2013-11-24 12:35:47 +0900 |
---|---|---|
committer | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2013-11-24 12:35:47 +0900 |
commit | a96f443c1022c568cf0db9fec10a6b4d78a61678 (patch) | |
tree | fe085d44395f99efb1a37ada6dd71ddbdc0d7039 /src/modules | |
parent | 8c9404a414b783e6c498e1fb07bcff9825f73233 (diff) | |
download | enlightenment-a96f443c1022c568cf0db9fec10a6b4d78a61678.tar.gz |
gadman - fix possible segv with conf being null
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/gadman/e_mod_gadman.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/gadman/e_mod_gadman.c b/src/modules/gadman/e_mod_gadman.c index eb54257388..54694297a5 100644 --- a/src/modules/gadman/e_mod_gadman.c +++ b/src/modules/gadman/e_mod_gadman.c @@ -611,13 +611,14 @@ gadman_update_bg(void) const char *ext; if (!Man->gadcons[GADMAN_LAYER_TOP]) return; + if (!Man->conf) return; obj = edje_object_part_swallow_get(Man->full_bg, "e.swallow.bg"); if (obj) { edje_object_part_unswallow(Man->full_bg, obj); evas_object_del(obj); } - + switch (Man->conf->bg_type) { case BG_STD: |