elm_diskselector: check if sd variable is null.
Summary: This causes a segmentation fault when closing the DiskSelector window on Windows. @fix Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
parent
ce1d59bcbe
commit
65bb320c00
|
@ -146,6 +146,9 @@ _string_check_idle_enterer_cb(void *data)
|
|||
Evas_Coord ox, ow;
|
||||
char buf[1024];
|
||||
|
||||
if (!sd)
|
||||
return ECORE_CALLBACK_CANCEL;
|
||||
|
||||
evas_object_geometry_get(obj, &ox, NULL, &ow, NULL);
|
||||
|
||||
if (ow <= 0)
|
||||
|
|
Loading…
Reference in New Issue