summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_selection_manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/efl_ui_selection_manager.c')
-rw-r--r--src/lib/elementary/efl_ui_selection_manager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elementary/efl_ui_selection_manager.c b/src/lib/elementary/efl_ui_selection_manager.c
index d8064a4..aa48ba7 100644
--- a/src/lib/elementary/efl_ui_selection_manager.c
+++ b/src/lib/elementary/efl_ui_selection_manager.c
@@ -1205,7 +1205,7 @@ _x11_text_converter(char *target, void *data, int size EINA_UNUSED, void **data_
1205 } 1205 }
1206 else if (sel->format & EFL_UI_SELECTION_FORMAT_IMAGE) 1206 else if (sel->format & EFL_UI_SELECTION_FORMAT_IMAGE)
1207 { 1207 {
1208 efl_file_get(sel->request_obj, (const char **)data_ret, NULL); 1208 efl_file_simple_get(sel->request_obj, (const char **)data_ret, NULL);
1209 if (!*data_ret) *data_ret = strdup("No file"); 1209 if (!*data_ret) *data_ret = strdup("No file");
1210 else *data_ret = strdup(*data_ret); 1210 else *data_ret = strdup(*data_ret);
1211 1211
@@ -2487,7 +2487,7 @@ _wl_text_converter(char *target, Sel_Manager_Selection *sel, void *data, int siz
2487 else if (format & EFL_UI_SELECTION_FORMAT_IMAGE) 2487 else if (format & EFL_UI_SELECTION_FORMAT_IMAGE)
2488 { 2488 {
2489 sel_debug("Image %s\n", evas_object_type_get(sel->request_obj)); 2489 sel_debug("Image %s\n", evas_object_type_get(sel->request_obj));
2490 efl_file_get(sel->request_obj, (const char **)data_ret, NULL); 2490 efl_file_simple_get(sel->request_obj, (const char **)data_ret, NULL);
2491 if (!*data_ret) *data_ret = strdup("No file"); 2491 if (!*data_ret) *data_ret = strdup("No file");
2492 else *data_ret = strdup(*data_ret); 2492 else *data_ret = strdup(*data_ret);
2493 2493