diff options
author | Sebastian Leske <sebastian.leske@sleske.name> | 2016-10-31 15:06:16 +0100 |
---|---|---|
committer | Sebastian Leske <sebastian.leske@sleske.name> | 2016-10-31 15:06:16 +0100 |
commit | 60bc2797f0bd71d87a4eece306e2368afe2a8866 (patch) | |
tree | ffa45158a52ac6e976785ec054cf1de0a87b4bab /navit/route.c | |
parent | 12c891d94ffaabeeec26ccf7e803f5c62777a685 (diff) | |
download | navit-60bc2797f0bd71d87a4eece306e2368afe2a8866.tar.gz |
Refactor:core:For plugins, use term 'category' instead of 'type'.
Use the term 'category' for all plugins with the same API (GUI plugins,
map plugins etc.). This used to be called 'type', which was confusing,
because in the XML config, 'type' refers to what is called 'name' in the
code.
Diffstat (limited to 'navit/route.c')
-rw-r--r-- | navit/route.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/navit/route.c b/navit/route.c index 3fdc38964..e367c3855 100644 --- a/navit/route.c +++ b/navit/route.c @@ -4202,8 +4202,8 @@ route_attr_iter_destroy(struct attr_iter *iter) void route_init(void) { - plugin_register_map_type("route", route_map_new); - plugin_register_map_type("route_graph", route_graph_map_new); + plugin_register_category_map("route", route_map_new); + plugin_register_category_map("route_graph", route_graph_map_new); } void |