Get plugin type call fixed: module.get_type() -> module.get_plugin_type().

This commit is contained in:
Kolan Sh 2018-04-29 21:48:02 +03:00
parent 65123947c8
commit 04b7da6322
1 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ namespace LAview.Core {
if (!data_modules.contains(m)) { if (!data_modules.contains(m)) {
data_modules.add(m); data_modules.add(m);
var plugin_data = m.create_instance (this) as PluginData; var plugin_data = m.create_instance (this) as PluginData;
data_plugins[m.get_type()] = plugin_data; data_plugins[m.get_plugin_type()] = plugin_data;
data_plugins2[plugin_data.get_name()] = plugin_data; data_plugins2[plugin_data.get_name()] = plugin_data;
} }
} }
@ -67,7 +67,7 @@ namespace LAview.Core {
if (!object_modules.contains(m)) { if (!object_modules.contains(m)) {
object_modules.add(m); object_modules.add(m);
var plugin_object = m.create_instance (this) as PluginObject; var plugin_object = m.create_instance (this) as PluginObject;
object_plugins[m.get_type()] = plugin_object; object_plugins[m.get_plugin_type()] = plugin_object;
object_plugins2[plugin_object.get_name()] = plugin_object; object_plugins2[plugin_object.get_name()] = plugin_object;
} }
} }