summaryrefslogtreecommitdiff
path: root/src/lib/edje/edje_legacy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/edje/edje_legacy.c')
-rw-r--r--src/lib/edje/edje_legacy.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/edje/edje_legacy.c b/src/lib/edje/edje_legacy.c
index fead8b0..edcc185 100644
--- a/src/lib/edje/edje_legacy.c
+++ b/src/lib/edje/edje_legacy.c
@@ -5,11 +5,8 @@
5EAPI Edje_Load_Error 5EAPI Edje_Load_Error
6edje_object_load_error_get(const Eo *obj) 6edje_object_load_error_get(const Eo *obj)
7{ 7{
8 Efl_Gfx_Image_Load_Error p = efl_file_load_error_get(obj);
9 Edje *ed; 8 Edje *ed;
10 9
11 if (p != EFL_GFX_IMAGE_LOAD_ERROR_NONE) return EDJE_LOAD_ERROR_DOES_NOT_EXIST;
12
13 ed = _edje_fetch(obj); 10 ed = _edje_fetch(obj);
14 if (!ed) return EDJE_LOAD_ERROR_GENERIC; 11 if (!ed) return EDJE_LOAD_ERROR_GENERIC;
15 return ed->load_error; 12 return ed->load_error;
@@ -431,7 +428,7 @@ EAPI void
431edje_object_part_text_cursor_geometry_get(const Edje_Object *obj, const char * part, int *x, int *y, int *w, int *h) 428edje_object_part_text_cursor_geometry_get(const Edje_Object *obj, const char * part, int *x, int *y, int *w, int *h)
432{ 429{
433 efl_text_cursor_geometry_get(efl_part(obj, part), 430 efl_text_cursor_geometry_get(efl_part(obj, part),
434 efl_text_cursor_get(efl_part(obj, part), EFL_TEXT_CURSOR_GET_MAIN), 431 efl_text_cursor_get(efl_part(obj, part), EFL_TEXT_CURSOR_GET_TYPE_MAIN),
435 EFL_TEXT_CURSOR_TYPE_BEFORE, 432 EFL_TEXT_CURSOR_TYPE_BEFORE,
436 x, y, w, h, NULL, NULL, NULL, NULL 433 x, y, w, h, NULL, NULL, NULL, NULL
437 ); 434 );