[network-manager-applet: 3/8] all: include "config.h" via "nm-default.h"



commit 29a3832b6c5edbff64a652e3f2ca6e7d793772a7
Author: Thomas Haller <thaller redhat com>
Date:   Wed Feb 24 00:19:46 2016 +0100

    all: include "config.h" via "nm-default.h"
    
    Every internal source file should include "nm-default.h"
    as first. Therefore, also include "nm-config.h" via the
    default header.

 shared/nm-default.h                             |    5 +++++
 src/ap-menu-item.c                              |    2 --
 src/applet-agent.c                              |    2 --
 src/applet-device-broadband.c                   |    2 --
 src/applet-device-bt.c                          |    2 --
 src/applet-device-ethernet.c                    |    2 --
 src/applet-device-wifi.c                        |    2 --
 src/applet-dialogs.c                            |    2 --
 src/applet-vpn-request.c                        |    2 --
 src/applet.c                                    |    2 --
 src/connection-editor/ce-page.c                 |    2 --
 src/connection-editor/ce-polkit-button.c        |    2 --
 src/connection-editor/connection-helpers.c      |    2 --
 src/connection-editor/ip4-routes-dialog.c       |    2 --
 src/connection-editor/ip6-routes-dialog.c       |    2 --
 src/connection-editor/main.c                    |    3 +--
 src/connection-editor/nm-connection-editor.c    |    2 --
 src/connection-editor/nm-connection-list.c      |    2 --
 src/connection-editor/page-8021x-security.c     |    2 --
 src/connection-editor/page-bluetooth.c          |    2 --
 src/connection-editor/page-bond.c               |    2 --
 src/connection-editor/page-bridge-port.c        |    2 --
 src/connection-editor/page-bridge.c             |    2 --
 src/connection-editor/page-dcb.c                |    2 --
 src/connection-editor/page-dsl.c                |    2 --
 src/connection-editor/page-ethernet.c           |    2 --
 src/connection-editor/page-general.c            |    2 --
 src/connection-editor/page-infiniband.c         |    2 --
 src/connection-editor/page-ip4.c                |    2 --
 src/connection-editor/page-ip6.c                |    2 --
 src/connection-editor/page-master.c             |    2 --
 src/connection-editor/page-mobile.c             |    2 --
 src/connection-editor/page-ppp.c                |    2 --
 src/connection-editor/page-team-port.c          |    2 --
 src/connection-editor/page-team.c               |    2 --
 src/connection-editor/page-vlan.c               |    2 --
 src/connection-editor/page-vpn.c                |    2 --
 src/connection-editor/page-wifi-security.c      |    2 --
 src/connection-editor/page-wifi.c               |    2 --
 src/connection-editor/ppp-auth-methods-dialog.c |    2 --
 src/connection-editor/vpn-helpers.c             |    2 --
 src/ethernet-dialog.c                           |    2 --
 src/libnm-gtk/init.c                            |    2 --
 src/libnm-gtk/nm-mobile-providers.c             |    2 --
 src/libnm-gtk/nm-mobile-wizard.c                |    2 --
 src/libnm-gtk/nm-ui-utils.c                     |    2 --
 src/libnm-gtk/nm-vpn-password-dialog.c          |    2 --
 src/libnm-gtk/nm-wifi-dialog.c                  |    2 --
 src/libnm-gtk/nm-wireless-dialog.c              |    2 --
 src/libnm-gtk/tests/test-mobile-providers.c     |    2 --
 src/libnma/init.c                               |    2 --
 src/libnma/nma-mobile-providers.c               |    2 --
 src/libnma/nma-mobile-wizard.c                  |    2 --
 src/libnma/nma-ui-utils.c                       |    2 --
 src/libnma/nma-vpn-password-dialog.c            |    2 --
 src/libnma/nma-wifi-dialog.c                    |    2 --
 src/main.c                                      |    2 +-
 src/mb-menu-item.c                              |    2 --
 src/mobile-helpers.c                            |    2 --
 src/utils/tests/test-utils.c                    |    2 --
 src/utils/utils.c                               |    2 --
 src/wireless-security/eap-method-fast.c         |    2 --
 src/wireless-security/eap-method-leap.c         |    2 --
 src/wireless-security/eap-method-peap.c         |    2 --
 src/wireless-security/eap-method-simple.c       |    2 --
 src/wireless-security/eap-method-tls.c          |    2 --
 src/wireless-security/eap-method-ttls.c         |    2 --
 src/wireless-security/eap-method.c              |    2 --
 src/wireless-security/helpers.c                 |    2 --
 src/wireless-security/wireless-security.c       |    2 --
 src/wireless-security/ws-dynamic-wep.c          |    2 --
 src/wireless-security/ws-leap.c                 |    2 --
 src/wireless-security/ws-wep-key.c              |    2 --
 src/wireless-security/ws-wpa-eap.c              |    2 --
 src/wireless-security/ws-wpa-psk.c              |    2 --
 75 files changed, 7 insertions(+), 147 deletions(-)
---
diff --git a/shared/nm-default.h b/shared/nm-default.h
index 48fb89c..0a09fa0 100644
--- a/shared/nm-default.h
+++ b/shared/nm-default.h
@@ -39,6 +39,11 @@
 
 /* always include these headers for our internal source files. */
 
+#ifndef ___CONFIG_H__
+#define ___CONFIG_H__
+#include <config.h>
+#endif
+
 #include <stdlib.h>
 
 #include "nm-glib.h"
diff --git a/src/ap-menu-item.c b/src/ap-menu-item.c
index e80ad3a..9550827 100644
--- a/src/ap-menu-item.c
+++ b/src/ap-menu-item.c
@@ -21,8 +21,6 @@
  * Copyright 2005 - 2014 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <stdio.h>
diff --git a/src/applet-agent.c b/src/applet-agent.c
index b8268b4..dd4b686 100644
--- a/src/applet-agent.c
+++ b/src/applet-agent.c
@@ -19,8 +19,6 @@
  * Copyright 2011 - 2014 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <glib/gi18n.h>
diff --git a/src/applet-device-broadband.c b/src/applet-device-broadband.c
index 4de2b04..479184a 100644
--- a/src/applet-device-broadband.c
+++ b/src/applet-device-broadband.c
@@ -18,8 +18,6 @@
  * (C) Copyright 2012 Aleksander Morgado <aleksander gnu org>
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <ctype.h>
diff --git a/src/applet-device-bt.c b/src/applet-device-bt.c
index 1f66546..3cfdb4e 100644
--- a/src/applet-device-bt.c
+++ b/src/applet-device-bt.c
@@ -21,8 +21,6 @@
  * Copyright 2008 Novell, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <glib/gi18n.h>
diff --git a/src/applet-device-ethernet.c b/src/applet-device-ethernet.c
index e1dfaca..91f7e68 100644
--- a/src/applet-device-ethernet.c
+++ b/src/applet-device-ethernet.c
@@ -21,8 +21,6 @@
  * Copyright 2008 Novell, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <glib/gi18n.h>
diff --git a/src/applet-device-wifi.c b/src/applet-device-wifi.c
index 12584c0..89e5544 100644
--- a/src/applet-device-wifi.c
+++ b/src/applet-device-wifi.c
@@ -20,8 +20,6 @@
  * Copyright 2008 - 2014 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <netinet/in.h>
diff --git a/src/applet-dialogs.c b/src/applet-dialogs.c
index fb87418..55e4c21 100644
--- a/src/applet-dialogs.c
+++ b/src/applet-dialogs.c
@@ -20,8 +20,6 @@
  * Copyright 2008 - 2014 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <netinet/in.h>
diff --git a/src/applet-vpn-request.c b/src/applet-vpn-request.c
index 8ba826a..59c3820 100644
--- a/src/applet-vpn-request.c
+++ b/src/applet-vpn-request.c
@@ -20,8 +20,6 @@
  * Copyright 2004 - 2014 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <stdio.h>
diff --git a/src/applet.c b/src/applet.c
index df8b960..643651f 100644
--- a/src/applet.c
+++ b/src/applet.c
@@ -27,8 +27,6 @@
  * Copyright 2001, 2002 Free Software Foundation
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <time.h>
diff --git a/src/connection-editor/ce-page.c b/src/connection-editor/ce-page.c
index 9d500e7..e6b3c15 100644
--- a/src/connection-editor/ce-page.c
+++ b/src/connection-editor/ce-page.c
@@ -20,8 +20,6 @@
  * Copyright 2008 - 2014 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <net/ethernet.h>
diff --git a/src/connection-editor/ce-polkit-button.c b/src/connection-editor/ce-polkit-button.c
index f3b7bac..7686a11 100644
--- a/src/connection-editor/ce-polkit-button.c
+++ b/src/connection-editor/ce-polkit-button.c
@@ -20,8 +20,6 @@
  * Copyright 2009 - 2014 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <string.h>
diff --git a/src/connection-editor/connection-helpers.c b/src/connection-editor/connection-helpers.c
index 97ef88f..4d4fce7 100644
--- a/src/connection-editor/connection-helpers.c
+++ b/src/connection-editor/connection-helpers.c
@@ -18,8 +18,6 @@
  * Copyright 2012 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <glib/gi18n.h>
diff --git a/src/connection-editor/ip4-routes-dialog.c b/src/connection-editor/ip4-routes-dialog.c
index a15da8b..5646be8 100644
--- a/src/connection-editor/ip4-routes-dialog.c
+++ b/src/connection-editor/ip4-routes-dialog.c
@@ -20,8 +20,6 @@
  * Copyright 2008 - 2014 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <netinet/in.h>
diff --git a/src/connection-editor/ip6-routes-dialog.c b/src/connection-editor/ip6-routes-dialog.c
index 6b28f53..64f28c7 100644
--- a/src/connection-editor/ip6-routes-dialog.c
+++ b/src/connection-editor/ip6-routes-dialog.c
@@ -20,8 +20,6 @@
  * Copyright 2008 - 2014 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <netinet/in.h>
diff --git a/src/connection-editor/main.c b/src/connection-editor/main.c
index 9314afc..c778630 100644
--- a/src/connection-editor/main.c
+++ b/src/connection-editor/main.c
@@ -20,7 +20,7 @@
  * Copyright 2004 - 2014 Red Hat, Inc.
  */
 
-# include "config.h"
+#include "nm-default.h"
 
 #include <string.h>
 #include <stdlib.h>
@@ -28,7 +28,6 @@
 
 #include <dbus/dbus.h>
 #include <gtk/gtk.h>
-#include <glib/gi18n-lib.h>
 #include <glib.h>
 #include <glib-object.h>
 #include <glib-unix.h>
diff --git a/src/connection-editor/nm-connection-editor.c b/src/connection-editor/nm-connection-editor.c
index bb8e9ad..d0faf50 100644
--- a/src/connection-editor/nm-connection-editor.c
+++ b/src/connection-editor/nm-connection-editor.c
@@ -23,8 +23,6 @@
  * Copyright 2007 - 2008 Novell, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <string.h>
diff --git a/src/connection-editor/nm-connection-list.c b/src/connection-editor/nm-connection-list.c
index cb60b7d..eea24e6 100644
--- a/src/connection-editor/nm-connection-list.c
+++ b/src/connection-editor/nm-connection-list.c
@@ -21,8 +21,6 @@
  * Copyright 2007 - 2014 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <string.h>
diff --git a/src/connection-editor/page-8021x-security.c b/src/connection-editor/page-8021x-security.c
index b1a2660..86e653b 100644
--- a/src/connection-editor/page-8021x-security.c
+++ b/src/connection-editor/page-8021x-security.c
@@ -20,8 +20,6 @@
  * Copyright 2008 - 2014 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <string.h>
diff --git a/src/connection-editor/page-bluetooth.c b/src/connection-editor/page-bluetooth.c
index 37495aa..76b9ecd 100644
--- a/src/connection-editor/page-bluetooth.c
+++ b/src/connection-editor/page-bluetooth.c
@@ -20,8 +20,6 @@
  * Copyright 2014 - 2015 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <string.h>
diff --git a/src/connection-editor/page-bond.c b/src/connection-editor/page-bond.c
index fe08bcd..16b1826 100644
--- a/src/connection-editor/page-bond.c
+++ b/src/connection-editor/page-bond.c
@@ -18,8 +18,6 @@
  * Copyright 2012 - 2014 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <stdlib.h>
diff --git a/src/connection-editor/page-bridge-port.c b/src/connection-editor/page-bridge-port.c
index 0620fb1..d79e071 100644
--- a/src/connection-editor/page-bridge-port.c
+++ b/src/connection-editor/page-bridge-port.c
@@ -20,8 +20,6 @@
  * Copyright 2008 - 2014 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <string.h>
diff --git a/src/connection-editor/page-bridge.c b/src/connection-editor/page-bridge.c
index 10f6632..07d2844 100644
--- a/src/connection-editor/page-bridge.c
+++ b/src/connection-editor/page-bridge.c
@@ -18,8 +18,6 @@
  * Copyright 2012 - 2014 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <stdlib.h>
diff --git a/src/connection-editor/page-dcb.c b/src/connection-editor/page-dcb.c
index c760b2b..b5a49cb 100644
--- a/src/connection-editor/page-dcb.c
+++ b/src/connection-editor/page-dcb.c
@@ -20,8 +20,6 @@
  * Copyright 2013 - 2014 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <string.h>
diff --git a/src/connection-editor/page-dsl.c b/src/connection-editor/page-dsl.c
index 4dcef6c..53282da 100644
--- a/src/connection-editor/page-dsl.c
+++ b/src/connection-editor/page-dsl.c
@@ -20,8 +20,6 @@
  * Copyright 2008 - 2014 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <string.h>
diff --git a/src/connection-editor/page-ethernet.c b/src/connection-editor/page-ethernet.c
index 9bc87bf..18787f8 100644
--- a/src/connection-editor/page-ethernet.c
+++ b/src/connection-editor/page-ethernet.c
@@ -20,8 +20,6 @@
  * Copyright 2008 - 2014 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <string.h>
diff --git a/src/connection-editor/page-general.c b/src/connection-editor/page-general.c
index 23fa0c2..c31bded 100644
--- a/src/connection-editor/page-general.c
+++ b/src/connection-editor/page-general.c
@@ -18,8 +18,6 @@
  * Copyright 2012 - 2014 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <gtk/gtk.h>
diff --git a/src/connection-editor/page-infiniband.c b/src/connection-editor/page-infiniband.c
index f544e4a..c0f0d7d 100644
--- a/src/connection-editor/page-infiniband.c
+++ b/src/connection-editor/page-infiniband.c
@@ -18,8 +18,6 @@
  * Copyright 2012 - 2014 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <gtk/gtk.h>
diff --git a/src/connection-editor/page-ip4.c b/src/connection-editor/page-ip4.c
index 0b8644e..9c28cfe 100644
--- a/src/connection-editor/page-ip4.c
+++ b/src/connection-editor/page-ip4.c
@@ -20,8 +20,6 @@
  * Copyright 2008 - 2014 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <string.h>
diff --git a/src/connection-editor/page-ip6.c b/src/connection-editor/page-ip6.c
index e9dae0a..28dac08 100644
--- a/src/connection-editor/page-ip6.c
+++ b/src/connection-editor/page-ip6.c
@@ -20,8 +20,6 @@
  * Copyright 2008 - 2014 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <string.h>
diff --git a/src/connection-editor/page-master.c b/src/connection-editor/page-master.c
index 2b79007..42362ee 100644
--- a/src/connection-editor/page-master.c
+++ b/src/connection-editor/page-master.c
@@ -18,8 +18,6 @@
  * Copyright 2012 - 2014 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <stdlib.h>
diff --git a/src/connection-editor/page-mobile.c b/src/connection-editor/page-mobile.c
index add1670..1bc7f7a 100644
--- a/src/connection-editor/page-mobile.c
+++ b/src/connection-editor/page-mobile.c
@@ -20,8 +20,6 @@
  * Copyright 2008 - 2014 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <string.h>
diff --git a/src/connection-editor/page-ppp.c b/src/connection-editor/page-ppp.c
index d670995..f306e3d 100644
--- a/src/connection-editor/page-ppp.c
+++ b/src/connection-editor/page-ppp.c
@@ -20,8 +20,6 @@
  * Copyright 2008 - 2014 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <string.h>
diff --git a/src/connection-editor/page-team-port.c b/src/connection-editor/page-team-port.c
index 8078b56..4d3bf7b 100644
--- a/src/connection-editor/page-team-port.c
+++ b/src/connection-editor/page-team-port.c
@@ -18,8 +18,6 @@
  * Copyright 2013 - 2014  Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <string.h>
diff --git a/src/connection-editor/page-team.c b/src/connection-editor/page-team.c
index 0759bab..44bc61b 100644
--- a/src/connection-editor/page-team.c
+++ b/src/connection-editor/page-team.c
@@ -20,8 +20,6 @@
  * Copyright 2013 - 2014  Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <stdlib.h>
diff --git a/src/connection-editor/page-vlan.c b/src/connection-editor/page-vlan.c
index 39a3692..97d162e 100644
--- a/src/connection-editor/page-vlan.c
+++ b/src/connection-editor/page-vlan.c
@@ -18,8 +18,6 @@
  * Copyright 2008 - 2014 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <stdlib.h>
diff --git a/src/connection-editor/page-vpn.c b/src/connection-editor/page-vpn.c
index 6aab2fe..aad5cc2 100644
--- a/src/connection-editor/page-vpn.c
+++ b/src/connection-editor/page-vpn.c
@@ -20,8 +20,6 @@
  * Copyright 2008 - 2014 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <string.h>
diff --git a/src/connection-editor/page-wifi-security.c b/src/connection-editor/page-wifi-security.c
index a19553f..edf959d 100644
--- a/src/connection-editor/page-wifi-security.c
+++ b/src/connection-editor/page-wifi-security.c
@@ -20,8 +20,6 @@
  * Copyright 2008 - 2014 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <string.h>
diff --git a/src/connection-editor/page-wifi.c b/src/connection-editor/page-wifi.c
index fc550f9..8931276 100644
--- a/src/connection-editor/page-wifi.c
+++ b/src/connection-editor/page-wifi.c
@@ -20,8 +20,6 @@
  * Copyright 2008 - 2014 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <string.h>
diff --git a/src/connection-editor/ppp-auth-methods-dialog.c b/src/connection-editor/ppp-auth-methods-dialog.c
index 918a7b3..c5f6a20 100644
--- a/src/connection-editor/ppp-auth-methods-dialog.c
+++ b/src/connection-editor/ppp-auth-methods-dialog.c
@@ -20,8 +20,6 @@
  * Copyright 2008 - 2014 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <netinet/in.h>
diff --git a/src/connection-editor/vpn-helpers.c b/src/connection-editor/vpn-helpers.c
index e4aad6f..f31d2ba 100644
--- a/src/connection-editor/vpn-helpers.c
+++ b/src/connection-editor/vpn-helpers.c
@@ -20,8 +20,6 @@
  * Copyright 2008 - 2014 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <string.h>
diff --git a/src/ethernet-dialog.c b/src/ethernet-dialog.c
index e613d80..69eb4e7 100644
--- a/src/ethernet-dialog.c
+++ b/src/ethernet-dialog.c
@@ -21,8 +21,6 @@
  * Copyright 2008 - 2014 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <glib/gi18n.h>
diff --git a/src/libnm-gtk/init.c b/src/libnm-gtk/init.c
index e5aff7c..927c453 100644
--- a/src/libnm-gtk/init.c
+++ b/src/libnm-gtk/init.c
@@ -18,8 +18,6 @@
  * Copyright 2014 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <libintl.h>
diff --git a/src/libnm-gtk/nm-mobile-providers.c b/src/libnm-gtk/nm-mobile-providers.c
index 532654a..c7f7859 100644
--- a/src/libnm-gtk/nm-mobile-providers.c
+++ b/src/libnm-gtk/nm-mobile-providers.c
@@ -22,8 +22,6 @@
  * Copyright (C) 2012 Lanedo GmbH
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <string.h>
diff --git a/src/libnm-gtk/nm-mobile-wizard.c b/src/libnm-gtk/nm-mobile-wizard.c
index 891cfe0..284dc38 100644
--- a/src/libnm-gtk/nm-mobile-wizard.c
+++ b/src/libnm-gtk/nm-mobile-wizard.c
@@ -20,8 +20,6 @@
  * (C) Copyright 2008 - 2012 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <stdlib.h>
diff --git a/src/libnm-gtk/nm-ui-utils.c b/src/libnm-gtk/nm-ui-utils.c
index c042e66..88bc6bc 100644
--- a/src/libnm-gtk/nm-ui-utils.c
+++ b/src/libnm-gtk/nm-ui-utils.c
@@ -18,8 +18,6 @@
  * Copyright 2007 - 2015 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <string.h>
diff --git a/src/libnm-gtk/nm-vpn-password-dialog.c b/src/libnm-gtk/nm-vpn-password-dialog.c
index 9928a44..adb9ced 100644
--- a/src/libnm-gtk/nm-vpn-password-dialog.c
+++ b/src/libnm-gtk/nm-vpn-password-dialog.c
@@ -22,8 +22,6 @@
  *          Dan Williams <dcbw redhat com>
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <glib/gi18n-lib.h>
diff --git a/src/libnm-gtk/nm-wifi-dialog.c b/src/libnm-gtk/nm-wifi-dialog.c
index 777aca9..d340c48 100644
--- a/src/libnm-gtk/nm-wifi-dialog.c
+++ b/src/libnm-gtk/nm-wifi-dialog.c
@@ -20,8 +20,6 @@
  * (C) Copyright 2007 - 2012 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <string.h>
diff --git a/src/libnm-gtk/nm-wireless-dialog.c b/src/libnm-gtk/nm-wireless-dialog.c
index aa0aa94..03c5027 100644
--- a/src/libnm-gtk/nm-wireless-dialog.c
+++ b/src/libnm-gtk/nm-wireless-dialog.c
@@ -20,8 +20,6 @@
  * (C) Copyright 2007 - 2012 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <nm-client.h>
diff --git a/src/libnm-gtk/tests/test-mobile-providers.c b/src/libnm-gtk/tests/test-mobile-providers.c
index 1f74e35..1a7e23c 100644
--- a/src/libnm-gtk/tests/test-mobile-providers.c
+++ b/src/libnm-gtk/tests/test-mobile-providers.c
@@ -13,8 +13,6 @@
  * Copyright (C) 2012 Aleksander Morgado <aleksander gnu org>
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <locale.h>
diff --git a/src/libnma/init.c b/src/libnma/init.c
index ff33b55..4c60b8e 100644
--- a/src/libnma/init.c
+++ b/src/libnma/init.c
@@ -18,8 +18,6 @@
  * Copyright 2014 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <libintl.h>
diff --git a/src/libnma/nma-mobile-providers.c b/src/libnma/nma-mobile-providers.c
index 5159852..4d5b0ea 100644
--- a/src/libnma/nma-mobile-providers.c
+++ b/src/libnma/nma-mobile-providers.c
@@ -22,8 +22,6 @@
  * Copyright (C) 2012 Lanedo GmbH
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <string.h>
diff --git a/src/libnma/nma-mobile-wizard.c b/src/libnma/nma-mobile-wizard.c
index fbfc538..351384b 100644
--- a/src/libnma/nma-mobile-wizard.c
+++ b/src/libnma/nma-mobile-wizard.c
@@ -20,8 +20,6 @@
  * (C) Copyright 2008 - 2012 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <stdlib.h>
diff --git a/src/libnma/nma-ui-utils.c b/src/libnma/nma-ui-utils.c
index d26ab22..6c4a29f 100644
--- a/src/libnma/nma-ui-utils.c
+++ b/src/libnma/nma-ui-utils.c
@@ -17,8 +17,6 @@
  * Copyright 2015 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <string.h>
diff --git a/src/libnma/nma-vpn-password-dialog.c b/src/libnma/nma-vpn-password-dialog.c
index e50bc50..b506df7 100644
--- a/src/libnma/nma-vpn-password-dialog.c
+++ b/src/libnma/nma-vpn-password-dialog.c
@@ -22,8 +22,6 @@
  *          Dan Williams <dcbw redhat com>
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <glib/gi18n-lib.h>
diff --git a/src/libnma/nma-wifi-dialog.c b/src/libnma/nma-wifi-dialog.c
index 15f65b2..c515b6a 100644
--- a/src/libnma/nma-wifi-dialog.c
+++ b/src/libnma/nma-wifi-dialog.c
@@ -20,8 +20,6 @@
  * Copyright 2007 - 2014 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <string.h>
diff --git a/src/main.c b/src/main.c
index 59d7b87..d07fc7b 100644
--- a/src/main.c
+++ b/src/main.c
@@ -22,7 +22,7 @@
  * (C) Copyright 2005 Red Hat, Inc.
  */
 
-# include "config.h"
+#include "nm-default.h"
 
 #include <string.h>
 #include <stdlib.h>
diff --git a/src/mb-menu-item.c b/src/mb-menu-item.c
index 5fbe383..f89c2a3 100644
--- a/src/mb-menu-item.c
+++ b/src/mb-menu-item.c
@@ -21,8 +21,6 @@
  * Copyright (C) 2005 - 2010 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <stdio.h>
diff --git a/src/mobile-helpers.c b/src/mobile-helpers.c
index 7c3cf18..c88a914 100644
--- a/src/mobile-helpers.c
+++ b/src/mobile-helpers.c
@@ -20,8 +20,6 @@
  * Copyright 2010 - 2014 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <ctype.h>
diff --git a/src/utils/tests/test-utils.c b/src/utils/tests/test-utils.c
index 496bd9d..9eef449 100644
--- a/src/utils/tests/test-utils.c
+++ b/src/utils/tests/test-utils.c
@@ -20,8 +20,6 @@
  * (C) Copyright 2009 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <glib.h>
diff --git a/src/utils/utils.c b/src/utils/utils.c
index 2dbf8c4..4f30e71 100644
--- a/src/utils/utils.c
+++ b/src/utils/utils.c
@@ -20,8 +20,6 @@
  * Copyright 2007 - 2015 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <string.h>
diff --git a/src/wireless-security/eap-method-fast.c b/src/wireless-security/eap-method-fast.c
index 002c5ab..aa65a50 100644
--- a/src/wireless-security/eap-method-fast.c
+++ b/src/wireless-security/eap-method-fast.c
@@ -20,8 +20,6 @@
  * Copyright 2012 - 2014 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <glib/gi18n.h>
diff --git a/src/wireless-security/eap-method-leap.c b/src/wireless-security/eap-method-leap.c
index c0e7190..2401be3 100644
--- a/src/wireless-security/eap-method-leap.c
+++ b/src/wireless-security/eap-method-leap.c
@@ -20,8 +20,6 @@
  * Copyright 2007 - 2014 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <ctype.h>
diff --git a/src/wireless-security/eap-method-peap.c b/src/wireless-security/eap-method-peap.c
index 4d65e44..e1c860e 100644
--- a/src/wireless-security/eap-method-peap.c
+++ b/src/wireless-security/eap-method-peap.c
@@ -20,8 +20,6 @@
  * Copyright 2007 - 2014 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <glib/gi18n.h>
diff --git a/src/wireless-security/eap-method-simple.c b/src/wireless-security/eap-method-simple.c
index 0deea1e..e6310f2 100644
--- a/src/wireless-security/eap-method-simple.c
+++ b/src/wireless-security/eap-method-simple.c
@@ -20,8 +20,6 @@
  * Copyright 2007 - 2014 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <ctype.h>
diff --git a/src/wireless-security/eap-method-tls.c b/src/wireless-security/eap-method-tls.c
index a8976b0..de5d46a 100644
--- a/src/wireless-security/eap-method-tls.c
+++ b/src/wireless-security/eap-method-tls.c
@@ -20,8 +20,6 @@
  * Copyright 2007 - 2014 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <glib/gi18n.h>
diff --git a/src/wireless-security/eap-method-ttls.c b/src/wireless-security/eap-method-ttls.c
index e01490d..7a29c00 100644
--- a/src/wireless-security/eap-method-ttls.c
+++ b/src/wireless-security/eap-method-ttls.c
@@ -20,8 +20,6 @@
  * Copyright 2007 - 2014 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <glib/gi18n.h>
diff --git a/src/wireless-security/eap-method.c b/src/wireless-security/eap-method.c
index cc92127..e6edd47 100644
--- a/src/wireless-security/eap-method.c
+++ b/src/wireless-security/eap-method.c
@@ -21,8 +21,6 @@
  * Copyright 2007 - 2014 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <glib.h>
diff --git a/src/wireless-security/helpers.c b/src/wireless-security/helpers.c
index c4d37c5..aff9db2 100644
--- a/src/wireless-security/helpers.c
+++ b/src/wireless-security/helpers.c
@@ -20,8 +20,6 @@
  * Copyright 2009 - 2014 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include "helpers.h"
diff --git a/src/wireless-security/wireless-security.c b/src/wireless-security/wireless-security.c
index 29a6847..d070516 100644
--- a/src/wireless-security/wireless-security.c
+++ b/src/wireless-security/wireless-security.c
@@ -20,8 +20,6 @@
  * Copyright 2007 - 2014 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <string.h>
diff --git a/src/wireless-security/ws-dynamic-wep.c b/src/wireless-security/ws-dynamic-wep.c
index ec348af..3274706 100644
--- a/src/wireless-security/ws-dynamic-wep.c
+++ b/src/wireless-security/ws-dynamic-wep.c
@@ -20,8 +20,6 @@
  * Copyright 2007 - 2014 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <glib/gi18n.h>
diff --git a/src/wireless-security/ws-leap.c b/src/wireless-security/ws-leap.c
index bd145f9..ae2b782 100644
--- a/src/wireless-security/ws-leap.c
+++ b/src/wireless-security/ws-leap.c
@@ -20,8 +20,6 @@
  * Copyright 2007 - 2014 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <string.h>
diff --git a/src/wireless-security/ws-wep-key.c b/src/wireless-security/ws-wep-key.c
index eef9121..53a9aaf 100644
--- a/src/wireless-security/ws-wep-key.c
+++ b/src/wireless-security/ws-wep-key.c
@@ -20,8 +20,6 @@
  * Copyright 2007 - 2014 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <string.h>
diff --git a/src/wireless-security/ws-wpa-eap.c b/src/wireless-security/ws-wpa-eap.c
index ddf1009..81c94cb 100644
--- a/src/wireless-security/ws-wpa-eap.c
+++ b/src/wireless-security/ws-wpa-eap.c
@@ -20,8 +20,6 @@
  * Copyright 2007 - 2014 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <glib/gi18n.h>
diff --git a/src/wireless-security/ws-wpa-psk.c b/src/wireless-security/ws-wpa-psk.c
index 5f56036..d702113 100644
--- a/src/wireless-security/ws-wpa-psk.c
+++ b/src/wireless-security/ws-wpa-psk.c
@@ -20,8 +20,6 @@
  * Copyright 2007 - 2014 Red Hat, Inc.
  */
 
-#include "config.h"
-
 #include "nm-default.h"
 
 #include <ctype.h>


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