diff options
Diffstat (limited to 'navit/xmlconfig.c')
-rw-r--r-- | navit/xmlconfig.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/navit/xmlconfig.c b/navit/xmlconfig.c index 27d91a992..4e81054fd 100644 --- a/navit/xmlconfig.c +++ b/navit/xmlconfig.c @@ -50,7 +50,6 @@ #include "log.h" #include "announcement.h" #include "vehicleprofile.h" -#include "roadprofile.h" #include "callback.h" #include "config_.h" @@ -261,7 +260,6 @@ static struct object_func object_funcs[] = { { attr_plugin, NEW(plugin_new)}, { attr_polygon, NEW(polygon_new), NULL, NULL, NULL, NULL, ADD(element_add_attr)}, { attr_polyline, NEW(polyline_new), NULL, NULL, NULL, NULL, ADD(element_add_attr)}, - { attr_roadprofile,NEW(roadprofile_new), GET(roadprofile_get_attr), NULL, NULL, SET(roadprofile_set_attr), ADD(roadprofile_add_attr) }, { attr_route, NEW(route_new), GET(route_get_attr), NULL, NULL, SET(route_set_attr), ADD(route_add_attr), REMOVE(route_remove_attr)}, { attr_speech, NEW(speech_new), GET(speech_get_attr), NULL, NULL, SET(speech_set_attr)}, { attr_text, NEW(text_new)}, @@ -288,6 +286,8 @@ object_func_lookup(enum attr_type type) return &navit_func; case attr_profile_option: return &profile_option_func; + case attr_roadprofile: + return &roadprofile_func; case attr_osd: return &osd_func; case attr_trackingo: |