summaryrefslogtreecommitdiff
path: root/src/bin/e_widget_toolbar.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2009-03-16 16:24:43 +0000
committerCedric BAIL <cedric.bail@free.fr>2009-03-16 16:24:43 +0000
commit46e8efcd8c2b6ba9f23ac1e38372fa80da059227 (patch)
treeef63ded6bdd984cf9edb4c0d7b5a117085e95f1d /src/bin/e_widget_toolbar.c
parent684fbe122c6890ac3d4d98f30a1b72e4264dd34d (diff)
Let me introduce you to Ecore_Input. The idea is to share as much as possible event
between all ecore graphic engine to ease porting of application and reduce the amount of specific code per engine. This patch does just that. All your application should continu to work has previously, if it's not the case please report any new behaviour regarding mouse and keyboard. SVN revision: 39505
Diffstat (limited to 'src/bin/e_widget_toolbar.c')
-rw-r--r--src/bin/e_widget_toolbar.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bin/e_widget_toolbar.c b/src/bin/e_widget_toolbar.c
index 0cb53b5..e416bab 100644
--- a/src/bin/e_widget_toolbar.c
+++ b/src/bin/e_widget_toolbar.c
@@ -255,6 +255,9 @@ _e_wid_cb_scrollframe_resize(void *data, Evas *e, Evas_Object *obj, void *event_
255 Item *it; 255 Item *it;
256 256
257 wd = e_widget_data_get(data); 257 wd = e_widget_data_get(data);
258
259 if (wd->o_base == NULL || wd->o_box == NULL) return ;
260
258 e_scrollframe_child_viewport_size_get(wd->o_base, &vw, &vh); 261 e_scrollframe_child_viewport_size_get(wd->o_base, &vw, &vh);
259 e_box_min_size_get(wd->o_box, &mw, &mh); 262 e_box_min_size_get(wd->o_box, &mw, &mh);
260 evas_object_geometry_get(wd->o_box, NULL, NULL, &w, &h); 263 evas_object_geometry_get(wd->o_box, NULL, NULL, &w, &h);