billiob pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=93c7deeb3e67c95e307c72770209bd54708e4ff5

commit 93c7deeb3e67c95e307c72770209bd54708e4ff5
Author: godfath3r <galatsan...@gmail.com>
Date:   Sat Aug 8 12:05:04 2015 +0200

    Correct rewrite of splittable container
    
    Reviewers: billiob
    
    Differential Revision: https://phab.enlightenment.org/D2933
---
 src/bin/win.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/bin/win.c b/src/bin/win.c
index 3a91d90..8bd625e 100644
--- a/src/bin/win.c
+++ b/src/bin/win.c
@@ -915,11 +915,9 @@ _term_container_is_splittable(Term_Container *tc, 
Eina_Bool is_horizontal)
 {
    int w = 0, h = 0, c_w = 0, c_h = 0;
    Term *tm;
-   Evas_Object *o;
 
-   o = tc->get_evas_object(tc);
-   evas_object_geometry_get(o, NULL, NULL, &w, &h);
    tm = tc->term_first(tc);
+   evas_object_geometry_get(tm->bg, NULL, NULL, &w, &h);
    evas_object_textgrid_cell_size_get(termio_textgrid_get(tm->termio),
                                       &c_w, &c_h);
    if (is_horizontal)

-- 


Reply via email to