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/speech.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/speech.c')
-rw-r--r-- | navit/speech.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/navit/speech.c b/navit/speech.c index d3b09ae3a..cabd998dc 100644 --- a/navit/speech.c +++ b/navit/speech.c @@ -45,7 +45,7 @@ speech_new(struct attr *parent, struct attr **attrs) return NULL; } dbg(lvl_debug,"type='%s'\n", attr->u.str); - speech_new=plugin_get_speech_type(attr->u.str); + speech_new=plugin_get_category_speech(attr->u.str); dbg(lvl_debug,"new=%p\n", speech_new); if (! speech_new) { dbg(lvl_error,"wrong type '%s'\n", attr->u.str); |