summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-02-01 20:09:05 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-02-01 20:09:05 +0900
commit26833b8d2868bc015a04155496138423e61305fd (patch)
treefc8f9f4c22fea953b861b5155dd41d743b2d2b78
parent8aaa3502622ae06e84ff033584765a6ce1ef5399 (diff)
efl ui did - dont segv if createicon func is not provided
-rw-r--r--src/lib/elementary/efl_ui_dnd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/elementary/efl_ui_dnd.c b/src/lib/elementary/efl_ui_dnd.c
index 72e4ad7e2a..a05bf61c7d 100644
--- a/src/lib/elementary/efl_ui_dnd.c
+++ b/src/lib/elementary/efl_ui_dnd.c
@@ -720,6 +720,7 @@ _cont_drag_icon_create(void *data, Efl_Object *win, Efl_Object *drag_obj EINA_UN
720 720
721 di = data; 721 di = data;
722 if (!di) return NULL; 722 if (!di) return NULL;
723 if (!di->user_info.createicon) return NULL;
723 it = di->user_info.createicon(di->user_info.createdata, win, &pos_ret->x, &pos_ret->y); 724 it = di->user_info.createicon(di->user_info.createdata, win, &pos_ret->x, &pos_ret->y);
724 di->it = it; 725 di->it = it;
725 return it; 726 return it;