[NetworkManager-fortisslvpn] properties: load plugin from relative place



commit 9c4b5d3188384cc2df39538dec29a59ba996d06c
Author: Lubomir Rintel <lkundrak v3 sk>
Date:   Mon Oct 22 11:27:44 2018 +0200

    properties: load plugin from relative place
    
    This is to ease testing. nm_vpn_plugin_utils_load_editor() figures out the
    correct path.

 properties/nm-fortisslvpn-editor-plugin.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/properties/nm-fortisslvpn-editor-plugin.c b/properties/nm-fortisslvpn-editor-plugin.c
index 67b97f4..0c5ff73 100644
--- a/properties/nm-fortisslvpn-editor-plugin.c
+++ b/properties/nm-fortisslvpn-editor-plugin.c
@@ -87,7 +87,7 @@ get_editor (NMVpnEditorPlugin *iface, NMConnection *connection, GError **error)
 #ifdef NM_VPN_OLD
                return nm_fortisslvpn_editor_new (connection, error);
 #else
-               return nm_vpn_plugin_utils_load_editor 
(NM_PLUGIN_DIR"/libnm-vpn-plugin-fortisslvpn-editor.so",
+               return nm_vpn_plugin_utils_load_editor ("libnm-vpn-plugin-fortisslvpn-editor.so",
                                                        "nm_vpn_editor_factory_fortisslvpn",
                                                        _call_editor_factory,
                                                        iface,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]