[network-manager-sstp/gtk4-work: 4/10] nm_vpn_plugin_utils_load_editor() is more than happy with a relative path




commit a0cf2a5c5abe7b7a856e422afa97561bf0a81c5a
Author: Eivind Næss <eivnaes yahoo com>
Date:   Tue Mar 22 08:54:32 2022 -0700

    nm_vpn_plugin_utils_load_editor() is more than happy with a relative path
    
    Signed-off-by: Eivind Næss <eivnaes yahoo com>

 Makefile.am                        | 1 -
 properties/nm-sstp-editor-plugin.c | 4 ++--
 2 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index c1bb95c..92f5b02 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -187,7 +187,6 @@ properties_libnm_vpn_plugin_sstp_la_CFLAGS = \
        $(LIBNM_CFLAGS)
 properties_libnm_vpn_plugin_sstp_la_CPPFLAGS = \
        -DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_LIB_BASE \
-       -DNM_PLUGIN_DIR=\"$(NM_PLUGIN_DIR)\" \
        $(properties_cppflags)
 properties_libnm_vpn_plugin_sstp_la_LIBADD = \
        $(LIBNM_LIBS)
diff --git a/properties/nm-sstp-editor-plugin.c b/properties/nm-sstp-editor-plugin.c
index 24c14a4..05fe20f 100644
--- a/properties/nm-sstp-editor-plugin.c
+++ b/properties/nm-sstp-editor-plugin.c
@@ -165,9 +165,9 @@ get_editor (NMVpnEditorPlugin *iface, NMConnection *connection, GError **error)
        g_module_close (self_module);
 
        if (gtk3_only_symbol) {
-               editor = "libnm-vpn-plugin-pptp-editor.so";
+               editor = "libnm-vpn-plugin-sstp-editor.so";
        } else {
-               editor = "libnm-gtk4-vpn-plugin-pptp-editor.so";
+               editor = "libnm-gtk4-vpn-plugin-sstp-editor.so";
        }
 
 #if ((NETWORKMANAGER_COMPILATION) & NM_NETWORKMANAGER_COMPILATION_WITH_LIBNM_UTIL)


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