summaryrefslogtreecommitdiff
path: root/navit/navigation.c
diff options
context:
space:
mode:
authorSebastian Leske <sebastian.leske@sleske.name>2016-10-31 15:06:16 +0100
committerSebastian Leske <sebastian.leske@sleske.name>2016-10-31 15:06:16 +0100
commit60bc2797f0bd71d87a4eece306e2368afe2a8866 (patch)
treeffa45158a52ac6e976785ec054cf1de0a87b4bab /navit/navigation.c
parent12c891d94ffaabeeec26ccf7e803f5c62777a685 (diff)
downloadnavit-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/navigation.c')
-rw-r--r--navit/navigation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/navit/navigation.c b/navit/navigation.c
index 92b73796d..cdad6331c 100644
--- a/navit/navigation.c
+++ b/navit/navigation.c
@@ -4444,7 +4444,7 @@ navigation_set_route(struct navigation *this_, struct route *route)
void
navigation_init(void)
{
- plugin_register_map_type("navigation", navigation_map_new);
+ plugin_register_category_map("navigation", navigation_map_new);
}
struct object_func navigation_func = {