aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichaël Bouchaud (yoz) <yoz@efl.so>2018-01-07 17:20:07 (GMT)
committerMichaël Bouchaud (yoz) <yoz@efl.so>2018-01-07 22:29:39 (GMT)
commitf862e623b9c0094d9707a51703d76e3eac482185 (patch)
treef8cfe419c9d3a6d4e9091cb5c528b9d111b33170
parentweather: Add a new weather widget (diff)
downloadenlightenment-devs/yoz/weather.tar.gz
Add warning 4mike, could be better but her we got a segvdevs/yoz/weather
-rw-r--r--src/bin/e_gadget.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bin/e_gadget.c b/src/bin/e_gadget.c
index 5baf1c3..c659a82 100644
--- a/src/bin/e_gadget.c
+++ b/src/bin/e_gadget.c
@@ -434,7 +434,10 @@ _gadget_wizard_end(void *data, int id)
E_Gadget_Config *zgc = data;
zgc->id = id;
- evas_object_smart_callback_call(zgc->site->layout, "gadget_site_unlocked", NULL);
+ if (zgc->site)
+ evas_object_smart_callback_call(zgc->site->layout, "gadget_site_unlocked", NULL);
+ else
+ ERR("No gadget site configured");
e_comp_ungrab_input(1, 1);
if (id > 0)
{