[gnome-control-center/network-widget-references: 7/13] network: Move includes to correct file locations



commit 77258c3c3f49498ae67a48c01c9cdac4dff126d6
Author: Robert Ancell <robert ancell canonical com>
Date:   Mon Oct 14 16:32:15 2019 +1300

    network: Move includes to correct file locations

 panels/network/connection-editor/ce-page-8021x-security.c | 1 +
 panels/network/connection-editor/ce-page-security.c       | 5 +++++
 panels/network/wireless-security/wireless-security.h      | 6 ------
 panels/network/wireless-security/ws-dynamic-wep.c         | 1 +
 panels/network/wireless-security/ws-leap.c                | 1 +
 panels/network/wireless-security/ws-wep-key.c             | 1 +
 panels/network/wireless-security/ws-wpa-eap.c             | 1 +
 panels/network/wireless-security/ws-wpa-psk.c             | 1 +
 8 files changed, 11 insertions(+), 6 deletions(-)
---
diff --git a/panels/network/connection-editor/ce-page-8021x-security.c 
b/panels/network/connection-editor/ce-page-8021x-security.c
index 335e0a859..764041876 100644
--- a/panels/network/connection-editor/ce-page-8021x-security.c
+++ b/panels/network/connection-editor/ce-page-8021x-security.c
@@ -29,6 +29,7 @@
 
 #include <NetworkManager.h>
 
+#include "ws-wpa-eap.h"
 #include "wireless-security.h"
 #include "ce-page-ethernet.h"
 #include "ce-page-8021x-security.h"
diff --git a/panels/network/connection-editor/ce-page-security.c 
b/panels/network/connection-editor/ce-page-security.c
index 7aefc457e..f5c71a761 100644
--- a/panels/network/connection-editor/ce-page-security.c
+++ b/panels/network/connection-editor/ce-page-security.c
@@ -28,6 +28,11 @@
 
 #include "wireless-security.h"
 #include "ce-page-security.h"
+#include "ws-dynamic-wep.h"
+#include "ws-leap.h"
+#include "ws-wep-key.h"
+#include "ws-wpa-eap.h"
+#include "ws-wpa-psk.h"
 
 G_DEFINE_TYPE (CEPageSecurity, ce_page_security, CE_TYPE_PAGE)
 
diff --git a/panels/network/wireless-security/wireless-security.h 
b/panels/network/wireless-security/wireless-security.h
index 0b219d7fe..d093962e9 100644
--- a/panels/network/wireless-security/wireless-security.h
+++ b/panels/network/wireless-security/wireless-security.h
@@ -94,12 +94,6 @@ GType wireless_security_get_type (void);
 
 /* Below for internal use only */
 
-#include "ws-wep-key.h"
-#include "ws-wpa-psk.h"
-#include "ws-leap.h"
-#include "ws-wpa-eap.h"
-#include "ws-dynamic-wep.h"
-
 WirelessSecurity *wireless_security_init (gsize obj_size,
                                           WSGetWidgetFunc get_widget,
                                           WSValidateFunc validate,
diff --git a/panels/network/wireless-security/ws-dynamic-wep.c 
b/panels/network/wireless-security/ws-dynamic-wep.c
index 532da7c71..ca5f6223d 100644
--- a/panels/network/wireless-security/ws-dynamic-wep.c
+++ b/panels/network/wireless-security/ws-dynamic-wep.c
@@ -25,6 +25,7 @@
 #include <ctype.h>
 #include <string.h>
 
+#include "ws-dynamic-wep.h"
 #include "wireless-security.h"
 #include "eap-method.h"
 
diff --git a/panels/network/wireless-security/ws-leap.c b/panels/network/wireless-security/ws-leap.c
index 414caedf3..6476855cb 100644
--- a/panels/network/wireless-security/ws-leap.c
+++ b/panels/network/wireless-security/ws-leap.c
@@ -24,6 +24,7 @@
 
 #include <string.h>
 
+#include "ws-leap.h"
 #include "wireless-security.h"
 #include "helpers.h"
 #include "nma-ui-utils.h"
diff --git a/panels/network/wireless-security/ws-wep-key.c b/panels/network/wireless-security/ws-wep-key.c
index 53a6a0f86..182da15a7 100644
--- a/panels/network/wireless-security/ws-wep-key.c
+++ b/panels/network/wireless-security/ws-wep-key.c
@@ -24,6 +24,7 @@
 
 #include <string.h>
 
+#include "ws-wep-key.h"
 #include "wireless-security.h"
 #include "utils.h"
 #include "helpers.h"
diff --git a/panels/network/wireless-security/ws-wpa-eap.c b/panels/network/wireless-security/ws-wpa-eap.c
index 05bf1322b..6b4843451 100644
--- a/panels/network/wireless-security/ws-wpa-eap.c
+++ b/panels/network/wireless-security/ws-wpa-eap.c
@@ -25,6 +25,7 @@
 #include <ctype.h>
 #include <string.h>
 
+#include "ws-wpa-eap.h"
 #include "wireless-security.h"
 #include "eap-method.h"
 
diff --git a/panels/network/wireless-security/ws-wpa-psk.c b/panels/network/wireless-security/ws-wpa-psk.c
index 3999b108b..a54c66cd9 100644
--- a/panels/network/wireless-security/ws-wpa-psk.c
+++ b/panels/network/wireless-security/ws-wpa-psk.c
@@ -25,6 +25,7 @@
 #include <ctype.h>
 #include <string.h>
 
+#include "ws-wpa-psk.h"
 #include "wireless-security.h"
 #include "helpers.h"
 #include "nma-ui-utils.h"


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