elc_fileselector: add safety code for eina value 04/200004/2
authorTaehyub Kim <taehyub.kim@samsung.com>
Mon, 18 Feb 2019 06:09:15 +0000 (15:09 +0900)
committerTaehyub Kim <taehyub.kim@samsung.com>
Mon, 18 Feb 2019 11:28:48 +0000 (11:28 +0000)
Change-Id: I6fa5ab0b3e70cdaf250b163498866fc2b9d3bc45

src/lib/elementary/elc_fileselector.c

index 0001287..827e8f9 100644 (file)
@@ -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;
       }