stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=a1826580dc4e2aa3496e960f6c286f14d8142bf7

commit a1826580dc4e2aa3496e960f6c286f14d8142bf7
Author: AbdullehGhujeh <a.ghu...@samsung.com>
Date:   Tue Jul 28 11:24:55 2020 +0000

    evas_textblock : Remove unneeded code
    
    Duplicated code removed
    
    Reviewed-by: Ali Alzyod <ali198...@gmail.com>
    Reviewed-by: Stefan Schmidt <ste...@datenfreihafen.org>
    Differential Revision: https://phab.enlightenment.org/D12070
---
 src/lib/evas/canvas/evas_object_textblock.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/lib/evas/canvas/evas_object_textblock.c 
b/src/lib/evas/canvas/evas_object_textblock.c
index 6531c16f12..ad325f8c77 100644
--- a/src/lib/evas/canvas/evas_object_textblock.c
+++ b/src/lib/evas/canvas/evas_object_textblock.c
@@ -7613,8 +7613,6 @@ _layout_setup(Ctxt *c, const Eo *eo_obj, Evas_Coord w, 
Evas_Coord h)
    c->obs_infos = NULL;
    c->hyphen_ti = NULL;
    c->handle_obstacles = EINA_FALSE;
-   c->w = w;
-   c->h = h;
    c->style_pad.r = c->style_pad.l = c->style_pad.t = c->style_pad.b = 0;
    c->vertical_ellipsis = EINA_FALSE;
    c->ellip_prev_it = NULL;

-- 


Reply via email to