From d525e7e7a38bf4824e44a2bdc3e14175933a8588 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Wed, 11 Jun 2014 20:09:33 +1000 Subject: Update to post release API change. So much for stable API to collaborate with. sigh --- src/extantz/extantz.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/extantz/extantz.c') diff --git a/src/extantz/extantz.c b/src/extantz/extantz.c index 7c90b8a..98669ea 100644 --- a/src/extantz/extantz.c +++ b/src/extantz/extantz.c @@ -482,7 +482,7 @@ static void makeMainMenu(globals *ourGlobals) Elm_Object_Item *tb_it; // A toolbar thingy. - tb = eo_add(ELM_OBJ_TOOLBAR_CLASS, ourGlobals->win, + tb = eo_add(ELM_TOOLBAR_CLASS, ourGlobals->win, evas_obj_size_hint_weight_set(EVAS_HINT_EXPAND, 0.0), evas_obj_size_hint_align_set(EVAS_HINT_FILL, EVAS_HINT_FILL), elm_obj_toolbar_shrink_mode_set(ELM_TOOLBAR_SHRINK_MENU), @@ -670,7 +670,7 @@ EAPI_MAIN int elm_main(int argc, char **argv) // Override the background image #if 1 snprintf(buf, sizeof(buf), "%s/sky_03.jpg", prefix_data_get()); - ourGlobals.mainWindow->bg = eo_add(ELM_OBJ_IMAGE_CLASS, ourGlobals.mainWindow->win, + ourGlobals.mainWindow->bg = eo_add(ELM_IMAGE_CLASS, ourGlobals.mainWindow->win, evas_obj_size_hint_weight_set(EVAS_HINT_EXPAND, EVAS_HINT_EXPAND), elm_obj_image_fill_outside_set(EINA_TRUE), elm_obj_image_file_set(buf, NULL), -- cgit v1.1