elementary: fix build of example.
authorcedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 16 Mar 2012 10:59:10 +0000 (10:59 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 16 Mar 2012 10:59:10 +0000 (10:59 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@69455 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/examples/map_example_03.c
src/examples/toggle_example_01.c

index c033e14..2fd1614 100644 (file)
@@ -43,7 +43,7 @@ _name_loaded(void *data, Evas_Object *obj, void *ev __UNUSED__)
    Evas_Object *map = obj;
 
    if (example_data->route)
-     elm_map_route_remove(example_data->route);
+     elm_map_route_del(example_data->route);
 
    elm_map_name_region_get(example_data->name, &(example_data->dest_lon),
                            &(example_data->dest_lat));
index ab85c8e..f676502 100644 (file)
@@ -34,8 +34,8 @@ elm_main(int argc, char **argv)
 
    toggle = elm_check_add(win);
    elm_object_style_set(toggle, "toggle");
-   elm_object_part_text_set(toggle, "on", E_("ON"));
-   elm_object_part_text_set(toggle, "off", E_("OFF"));
+   elm_object_part_text_set(toggle, "on", "ON");
+   elm_object_part_text_set(toggle, "off", "OFF");
    elm_object_text_set(toggle, "Toggle 1");
    ic = elm_icon_add(win);
    elm_icon_standard_set(ic, "home");