summaryrefslogtreecommitdiff
path: root/src/lib/ecore_evas
diff options
context:
space:
mode:
authorRafael Antognolli <antognolli@gmail.com>2013-01-21 16:05:08 +0000
committerRafael Antognolli <antognolli@gmail.com>2013-01-21 16:05:08 +0000
commit167c19ca2949579a4d1a7e7aecf7c99837c352ee (patch)
tree2fb516594928db0e5be1187c472f86bd4d8e4aac /src/lib/ecore_evas
parent4b552cb9f75f717ebcd6a8ccaf317f4016257c48 (diff)
efl/evas/examples: Remove framespace offset from example.
The example should not account for the framespace, since this is handled inside ecore_evas already. This change partially fix #1673. SVN revision: 83041
Diffstat (limited to 'src/lib/ecore_evas')
-rw-r--r--src/lib/ecore_evas/ecore_evas_util.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/ecore_evas/ecore_evas_util.c b/src/lib/ecore_evas/ecore_evas_util.c
index 86745c9be3..e80f874e6d 100644
--- a/src/lib/ecore_evas/ecore_evas_util.c
+++ b/src/lib/ecore_evas/ecore_evas_util.c
@@ -120,12 +120,9 @@ static void
120_ecore_evas_obj_callback_resize(void *data, Evas *e, Evas_Object *obj, void *event_info EINA_UNUSED) 120_ecore_evas_obj_callback_resize(void *data, Evas *e, Evas_Object *obj, void *event_info EINA_UNUSED)
121{ 121{
122 Ecore_Evas *ee = data; 122 Ecore_Evas *ee = data;
123 Evas_Coord ow, oh, fw, fh; 123 Evas_Coord ow, oh;
124 124
125 evas_object_geometry_get(obj, NULL, NULL, &ow, &oh); 125 evas_object_geometry_get(obj, NULL, NULL, &ow, &oh);
126 evas_output_framespace_get(e, NULL, NULL, &fw, &fh);
127 ow += fw;
128 oh += fh;
129 ecore_evas_resize(ee, ow, oh); 126 ecore_evas_resize(ee, ow, oh);
130} 127}
131 128