diff options
author | Christopher Michael <cp.michael@samsung.com> | 2019-05-29 15:36:46 -0400 |
---|---|---|
committer | Mike Blumenkrantz <zmike@samsung.com> | 2019-05-29 15:37:36 -0400 |
commit | ef23de1ea4bfd7040b350af30af3fa2d5895bcb7 (patch) | |
tree | b21d31cc284d6fa6a1a05f1b2b12c413e0961c40 /src/lib/evas/canvas/evas_object_text.c | |
parent | 194d769175f2eafa6cbd3658247ef8841c6c6e63 (diff) | |
download | efl-ef23de1ea4bfd7040b350af30af3fa2d5895bcb7.tar.gz |
evas_inline: Clean up evas_object_was_visible function
Summary:
This file is full of functions called as:
foo(eo_obj, obj);
Most of them can be reduced to foo(obj); and internally get the eo_obj
with obj->object
This would make it impossible to screw up calling them passing an
unrelated pair, and make calling code a little more readable.
ref T7230
Reviewers: raster, cedric, zmike
Reviewed By: zmike
Subscribers: #reviewers, #committers
Tags: #efl
Maniphest Tasks: T7230
Differential Revision: https://phab.enlightenment.org/D9045
Diffstat (limited to 'src/lib/evas/canvas/evas_object_text.c')
-rw-r--r-- | src/lib/evas/canvas/evas_object_text.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/evas_object_text.c b/src/lib/evas/canvas/evas_object_text.c index cac8602100..0c20f3ee38 100644 --- a/src/lib/evas/canvas/evas_object_text.c +++ b/src/lib/evas/canvas/evas_object_text.c @@ -2078,7 +2078,7 @@ evas_object_text_render_pre(Evas_Object *eo_obj, /* now figure what changed and add draw rects if it just became visible or invisible */ is_v = evas_object_is_visible(eo_obj, obj); - was_v = evas_object_was_visible(eo_obj, obj); + was_v = evas_object_was_visible(obj); if (is_v != was_v) { evas_object_render_pre_visible_change(&obj->layer->evas->clip_changes, |