From: Taehyub Kim Date: Mon, 18 Feb 2019 06:09:15 +0000 (+0900) Subject: elc_fileselector: add safety code for eina value X-Git-Tag: submit/tizen/20190222.001114~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e789a09c550b9c2013a190eb069954f4f4455804;p=platform%2Fupstream%2Fefl.git elc_fileselector: add safety code for eina value Change-Id: I6fa5ab0b3e70cdaf250b163498866fc2b9d3bc45 --- diff --git a/src/lib/elementary/elc_fileselector.c b/src/lib/elementary/elc_fileselector.c index 0001287..827e8f9 100644 --- a/src/lib/elementary/elc_fileselector.c +++ b/src/lib/elementary/elc_fileselector.c @@ -2565,7 +2565,7 @@ _elm_fileselector_elm_interface_fileselector_selected_model_set(Eo *obj, Elm_Fil if (eina_value_type_get(value) != EINA_VALUE_TYPE_BOOL) { - ERR("Unexpected type for 'is_dir': '%s' with value '%s'.", eina_value_type_get(value)->name, eina_value_to_string(value)); + ERR("Unexpected type for 'is_dir': '%s' with value '%s'.", eina_value_type_name_get(eina_value_type_get(value)), eina_value_to_string(value)); goto clean_up; }