From 04b7da632235e6942fa74476a574172b97adb9ae Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Sun, 29 Apr 2018 21:48:02 +0300 Subject: [PATCH] Get plugin type call fixed: module.get_type() -> module.get_plugin_type(). --- src/core/Core.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/Core.vala b/src/core/Core.vala index 76c54b8..f97298c 100644 --- a/src/core/Core.vala +++ b/src/core/Core.vala @@ -51,7 +51,7 @@ namespace LAview.Core { if (!data_modules.contains(m)) { data_modules.add(m); 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; } } @@ -67,7 +67,7 @@ namespace LAview.Core { if (!object_modules.contains(m)) { object_modules.add(m); 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; } }