[gnome-control-center] network: Move includes to correct file locations
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] network: Move includes to correct file locations
- Date: Tue, 22 Oct 2019 20:17:01 +0000 (UTC)
commit f556af6e679c7cacdbaf2ab9de88667f081f48a1
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 c6ecb3145..cbfce97c9 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 372db69e8..b24c2bc5f 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 68651f29b..8b3078318 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 bae0c0648..d2dbd6a88 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 02989fabd..702ff7d4b 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]