summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorgodfath3r <galatsanosp@gmail.com>2015-08-08 12:05:04 +0200
committerBoris Faure <billiob@gmail.com>2015-08-08 12:05:04 +0200
commit93c7deeb3e67c95e307c72770209bd54708e4ff5 (patch)
tree4722a0b8f3869e5f0d4bd52da56dc43a1685417b /src
parent49be05a02fdf337536cb47cb47aecaf0711b1dd8 (diff)
Correct rewrite of splittable container
Reviewers: billiob Differential Revision: https://phab.enlightenment.org/D2933
Diffstat (limited to 'src')
-rw-r--r--src/bin/win.c4
1 files changed, 1 insertions, 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)
915{ 915{
916 int w = 0, h = 0, c_w = 0, c_h = 0; 916 int w = 0, h = 0, c_w = 0, c_h = 0;
917 Term *tm; 917 Term *tm;
918 Evas_Object *o;
919 918
920 o = tc->get_evas_object(tc);
921 evas_object_geometry_get(o, NULL, NULL, &w, &h);
922 tm = tc->term_first(tc); 919 tm = tc->term_first(tc);
920 evas_object_geometry_get(tm->bg, NULL, NULL, &w, &h);
923 evas_object_textgrid_cell_size_get(termio_textgrid_get(tm->termio), 921 evas_object_textgrid_cell_size_get(termio_textgrid_get(tm->termio),
924 &c_w, &c_h); 922 &c_w, &c_h);
925 if (is_horizontal) 923 if (is_horizontal)