From 4a5cb632ec8145d6b89e42740477bea7d08facd2 Mon Sep 17 00:00:00 2001 From: Stephen okra Houston Date: Fri, 26 Aug 2016 16:30:27 -0500 Subject: [PATCH] Ephoto: Don't warn, as this behavior is perfectly normal. --- src/bin/ephoto_directory_browser.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/ephoto_directory_browser.c b/src/bin/ephoto_directory_browser.c index c09540f..4b38b13 100644 --- a/src/bin/ephoto_directory_browser.c +++ b/src/bin/ephoto_directory_browser.c @@ -87,8 +87,8 @@ static Eina_Bool _drop_dropcb(void *data EINA_UNUSED, Evas_Object *obj, Elm_Object_Item *it, Elm_Selection_Data *ev, int xposret EINA_UNUSED, int yposret EINA_UNUSED) { - EINA_SAFETY_ON_NULL_RETURN_VAL(it, EINA_TRUE); - + if (!it) + return EINA_FALSE; Ephoto_Entry *entry = elm_object_item_data_get(it); const char *path = entry->path; Eina_List *files = NULL;