Fix:Core:Added navigation_get_attr method
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Wed, 11 Mar 2009 09:55:39 +0000 (09:55 +0000)
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Wed, 11 Mar 2009 09:55:39 +0000 (09:55 +0000)
git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@2101 ffa7fe5e-494d-0410-b361-a75ebd5db220

navit/navit/xmlconfig.c

index e85c9f8..4d4f138 100644 (file)
@@ -281,7 +281,7 @@ static struct object_func object_funcs[] = {
        { attr_log,        NEW(log_new)},
        { attr_map,        NEW(map_new)},
        { attr_mapset,     NEW(mapset_new),   NULL, NULL, NULL, NULL, ADD(mapset_add_attr)},
-       { attr_navigation, NEW(navigation_new)},
+       { attr_navigation, NEW(navigation_new), GET(navigation_get_attr)},
        { attr_navit,      NEW(navit_new), GET(navit_get_attr), ITERN(navit_attr_iter_new), ITERD(navit_attr_iter_destroy), SET(navit_set_attr), ADD(navit_add_attr), REMOVE(navit_remove_attr), INIT(navit_init), DESTROY(navit_destroy)},
        { attr_osd,        NEW(osd_new)},
        { attr_plugins,    NEW(plugins_new),  NULL, NULL, NULL, NULL, NULL, NULL, INIT(plugins_init)},