summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorProhtMeyhet <Proht>2020-03-06 21:21:58 +0000
committerStefan Schmidt <s.schmidt@samsung.com>2020-04-03 10:36:28 +0200
commit58860b0bcf9ce6d3a01b2198e9600c4939e6fccd (patch)
treee4f95c1df09fe815ac732b991b9c3fc585918ea4
parentdc1454f8cf2ba2808caed6f7d8ab64252be26b2e (diff)
edje_legacy: Remove EINA_UNUSED when obj is actually used
This removes EINA_UNUSED when obj is actually used like in a call ed = _edje_fetch(obj); Please note the macro GET_REAL_PART_ON_FAIL_RETURN also uses obj. No functional changes, just cleanup. Reviewed-by: Christopher Michael <devilhorns@comcast.net> Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11471
-rw-r--r--src/lib/edje/edje_legacy.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/lib/edje/edje_legacy.c b/src/lib/edje/edje_legacy.c
index 0c01114132..76a258c461 100644
--- a/src/lib/edje/edje_legacy.c
+++ b/src/lib/edje/edje_legacy.c
@@ -450,7 +450,7 @@ edje_object_part_text_anchor_geometry_get(const Eo *obj, const char *part, const
450} 450}
451 451
452EAPI void 452EAPI void
453edje_object_part_text_style_user_push(Eo *obj EINA_UNUSED, const char *part, const char *style) 453edje_object_part_text_style_user_push(Eo *obj, const char *part, const char *style)
454{ 454{
455 Evas_Textblock_Style *ts; 455 Evas_Textblock_Style *ts;
456 GET_REAL_PART_ON_FAIL_RETURN() 456 GET_REAL_PART_ON_FAIL_RETURN()
@@ -483,7 +483,7 @@ edje_object_part_text_style_user_pop(Eo *obj, const char *part)
483} 483}
484 484
485EAPI const char * 485EAPI const char *
486edje_object_part_text_style_user_peek(const Eo *obj EINA_UNUSED, const char *part) 486edje_object_part_text_style_user_peek(const Eo *obj, const char *part)
487{ 487{
488 Edje_Real_Part *rp; 488 Edje_Real_Part *rp;
489 const Evas_Textblock_Style *ts; 489 const Evas_Textblock_Style *ts;
@@ -505,7 +505,7 @@ edje_object_part_text_style_user_peek(const Eo *obj EINA_UNUSED, const char *par
505} 505}
506 506
507EAPI const Eina_List * 507EAPI const Eina_List *
508edje_object_part_text_item_list_get(const Eo *obj EINA_UNUSED, const char *part) 508edje_object_part_text_item_list_get(const Eo *obj, const char *part)
509{ 509{
510 GET_REAL_PART_ON_FAIL_RETURN(NULL) 510 GET_REAL_PART_ON_FAIL_RETURN(NULL)
511 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE) 511 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE)
@@ -515,7 +515,7 @@ edje_object_part_text_item_list_get(const Eo *obj EINA_UNUSED, const char *part)
515} 515}
516 516
517EAPI Eina_Bool 517EAPI Eina_Bool
518edje_object_part_text_item_geometry_get(const Eo *obj EINA_UNUSED, const char *part, const char *item, Evas_Coord *cx, Evas_Coord *cy, Evas_Coord *cw, Evas_Coord *ch) 518edje_object_part_text_item_geometry_get(const Eo *obj, const char *part, const char *item, Evas_Coord *cx, Evas_Coord *cy, Evas_Coord *cw, Evas_Coord *ch)
519{ 519{
520 GET_REAL_PART_ON_FAIL_RETURN(EINA_FALSE) 520 GET_REAL_PART_ON_FAIL_RETURN(EINA_FALSE)
521 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE) 521 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE)
@@ -527,7 +527,7 @@ edje_object_part_text_item_geometry_get(const Eo *obj EINA_UNUSED, const char *p
527} 527}
528 528
529EAPI void 529EAPI void
530edje_object_text_insert_filter_callback_add(Eo *obj EINA_UNUSED, const char *part, Edje_Text_Filter_Cb func, void *data) 530edje_object_text_insert_filter_callback_add(Eo *obj, const char *part, Edje_Text_Filter_Cb func, void *data)
531{ 531{
532 Edje_Text_Insert_Filter_Callback *cb; 532 Edje_Text_Insert_Filter_Callback *cb;
533 Edje *ed; 533 Edje *ed;
@@ -545,7 +545,7 @@ edje_object_text_insert_filter_callback_add(Eo *obj EINA_UNUSED, const char *par
545} 545}
546 546
547EAPI void * 547EAPI void *
548edje_object_text_insert_filter_callback_del(Eo *obj EINA_UNUSED, const char *part, Edje_Text_Filter_Cb func) 548edje_object_text_insert_filter_callback_del(Eo *obj, const char *part, Edje_Text_Filter_Cb func)
549{ 549{
550 Edje_Text_Insert_Filter_Callback *cb; 550 Edje_Text_Insert_Filter_Callback *cb;
551 Eina_List *l; 551 Eina_List *l;
@@ -572,7 +572,7 @@ edje_object_text_insert_filter_callback_del(Eo *obj EINA_UNUSED, const char *par
572} 572}
573 573
574EAPI void * 574EAPI void *
575edje_object_text_insert_filter_callback_del_full(Eo *obj EINA_UNUSED, const char *part, Edje_Text_Filter_Cb func, void *data) 575edje_object_text_insert_filter_callback_del_full(Eo *obj, const char *part, Edje_Text_Filter_Cb func, void *data)
576{ 576{
577 Edje_Text_Insert_Filter_Callback *cb; 577 Edje_Text_Insert_Filter_Callback *cb;
578 Eina_List *l; 578 Eina_List *l;
@@ -600,7 +600,7 @@ edje_object_text_insert_filter_callback_del_full(Eo *obj EINA_UNUSED, const char
600} 600}
601 601
602EAPI void 602EAPI void
603edje_object_text_markup_filter_callback_add(Eo *obj EINA_UNUSED, const char *part, Edje_Markup_Filter_Cb func, void *data) 603edje_object_text_markup_filter_callback_add(Eo *obj, const char *part, Edje_Markup_Filter_Cb func, void *data)
604{ 604{
605 Edje_Markup_Filter_Callback *cb; 605 Edje_Markup_Filter_Callback *cb;
606 Edje *ed; 606 Edje *ed;
@@ -618,7 +618,7 @@ edje_object_text_markup_filter_callback_add(Eo *obj EINA_UNUSED, const char *par
618} 618}
619 619
620EAPI void * 620EAPI void *
621edje_object_text_markup_filter_callback_del(Eo *obj EINA_UNUSED, const char *part, Edje_Markup_Filter_Cb func) 621edje_object_text_markup_filter_callback_del(Eo *obj, const char *part, Edje_Markup_Filter_Cb func)
622{ 622{
623 Edje_Markup_Filter_Callback *cb; 623 Edje_Markup_Filter_Callback *cb;
624 Eina_List *l; 624 Eina_List *l;
@@ -645,7 +645,7 @@ edje_object_text_markup_filter_callback_del(Eo *obj EINA_UNUSED, const char *par
645} 645}
646 646
647EAPI void * 647EAPI void *
648edje_object_text_markup_filter_callback_del_full(Eo *obj EINA_UNUSED, const char *part, Edje_Markup_Filter_Cb func, void *data) 648edje_object_text_markup_filter_callback_del_full(Eo *obj, const char *part, Edje_Markup_Filter_Cb func, void *data)
649{ 649{
650 Edje_Markup_Filter_Callback *cb; 650 Edje_Markup_Filter_Callback *cb;
651 Eina_List *l; 651 Eina_List *l;
@@ -967,7 +967,7 @@ edje_object_part_text_unescaped_set(Eo *obj, const char *part, const char *text_
967} 967}
968 968
969EAPI char * 969EAPI char *
970edje_object_part_text_unescaped_get(const Eo *obj EINA_UNUSED, const char *part) 970edje_object_part_text_unescaped_get(const Eo *obj, const char *part)
971{ 971{
972 Edje_Real_Part *rp; 972 Edje_Real_Part *rp;
973 Edje *ed; 973 Edje *ed;