aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/extantz/extantz.c
diff options
context:
space:
mode:
authorDavid Walter Seikel2016-03-13 19:59:59 +1000
committerDavid Walter Seikel2016-03-13 19:59:59 +1000
commitbb128645efa19772a5c1a039df9c46213feb4426 (patch)
tree87bb9931b4effd3dc1db4ee607d69367cc19a9c6 /src/extantz/extantz.c
parentIntroducing Rough Hir, the new default avatar. At least, when we get avatars. (diff)
downloadSledjHamr-bb128645efa19772a5c1a039df9c46213feb4426.zip
SledjHamr-bb128645efa19772a5c1a039df9c46213feb4426.tar.gz
SledjHamr-bb128645efa19772a5c1a039df9c46213feb4426.tar.bz2
SledjHamr-bb128645efa19772a5c1a039df9c46213feb4426.tar.xz
Update to new eo_* syntax.
Diffstat (limited to 'src/extantz/extantz.c')
-rw-r--r--src/extantz/extantz.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/extantz/extantz.c b/src/extantz/extantz.c
index ed78b24..b5f272e 100644
--- a/src/extantz/extantz.c
+++ b/src/extantz/extantz.c
@@ -228,11 +228,13 @@ static void _on_resize(void *data, Evas *evas EINA_UNUSED, Evas_Object *obj EINA
228 GLData *gld = &ourGlobals->gld; 228 GLData *gld = &ourGlobals->gld;
229 Evas_Coord h; 229 Evas_Coord h;
230 230
231 eo_do(ourGlobals->win, efl_gfx_size_get(&ourGlobals->win_w, &ourGlobals->win_h)); 231 efl_gfx_size_get(ourGlobals->win, &ourGlobals->win_w, &ourGlobals->win_h);
232 eo_do(ourGlobals->tb, 232 evas_obj_size_hint_min_get(ourGlobals->win, NULL, &h);
233 evas_obj_size_hint_min_get(NULL, &h), 233
234 efl_gfx_size_set(ourGlobals->win_w, h) 234 if (10 > h)
235 ); 235 h = ourGlobals->win_h;
236
237 efl_gfx_size_set(ourGlobals->win, ourGlobals->win_w, h);
236 // Stop internal windows going under the toolbar. 238 // Stop internal windows going under the toolbar.
237 evas_object_resize(ourGlobals->mainWindow->layout, ourGlobals->win_w, h); 239 evas_object_resize(ourGlobals->mainWindow->layout, ourGlobals->win_w, h);
238#if USE_EPHYSICS 240#if USE_EPHYSICS