[network-manager-openvpn/nm-1-2] build: drop direct includes of "nm-vpn-service-plugin.h"



commit b527e80ad2299ee842b1c8f4856d280dfa89f941
Author: Thomas Haller <thaller redhat com>
Date:   Thu Apr 28 19:23:53 2016 +0200

    build: drop direct includes of "nm-vpn-service-plugin.h"
    
    "nm-vpn-service-plugin.h" cannot be included directly, only "NetworkManager.h"
    can. This only does not trigger an #error, because we already included the
    file before.
    
    (cherry picked from commit fed7167329a103173c15b5fa36a9ca0cecf208b5)

 auth-dialog/main.c       |    1 -
 src/nm-openvpn-service.c |    2 --
 src/nm-openvpn-service.h |    2 --
 3 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/auth-dialog/main.c b/auth-dialog/main.c
index 32c1686..e1723e2 100644
--- a/auth-dialog/main.c
+++ b/auth-dialog/main.c
@@ -32,7 +32,6 @@
 #define SECRET_API_SUBJECT_TO_CHANGE
 #include <libsecret/secret.h>
 
-#include <nm-vpn-service-plugin.h>
 #include <nma-vpn-password-dialog.h>
 
 #include "utils.h"
diff --git a/src/nm-openvpn-service.c b/src/nm-openvpn-service.c
index f25593c..a3d2c87 100644
--- a/src/nm-openvpn-service.c
+++ b/src/nm-openvpn-service.c
@@ -46,8 +46,6 @@
 #include <grp.h>
 #include "glib-unix.h"
 
-#include <nm-vpn-service-plugin.h>
-
 #include "nm-utils.h"
 #include "utils.h"
 #include "nm-macros-internal.h"
diff --git a/src/nm-openvpn-service.h b/src/nm-openvpn-service.h
index 60edcfd..2b3c54a 100644
--- a/src/nm-openvpn-service.h
+++ b/src/nm-openvpn-service.h
@@ -23,8 +23,6 @@
 #ifndef NM_OPENVPN_SERVICE_H
 #define NM_OPENVPN_SERVICE_H
 
-#include <nm-vpn-service-plugin.h>
-
 #include "nm-openvpn-service-defines.h"
 
 #define NM_TYPE_OPENVPN_PLUGIN            (nm_openvpn_plugin_get_type ())


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