summaryrefslogtreecommitdiff
path: root/clients/tui
diff options
context:
space:
mode:
authorDan Winship <danw@redhat.com>2015-08-04 13:02:19 -0400
committerThomas Haller <thaller@redhat.com>2015-08-05 15:35:51 +0200
commit22e1a97e122b9c563a4da76bfdb2bd3e77dddccf (patch)
treec5ea5b9dae4e7093545eb6e3e0ffa042578a6817 /clients/tui
parent7363dc94c6591e8d08910bfbc54a654fa81da37a (diff)
downloadNetworkManager-22e1a97e122b9c563a4da76bfdb2bd3e77dddccf.tar.gz
all: drop includes to <glib/gi18n.h> for "nm-default.h"
The localization headers are now included via "nm-default.h". Also fixes several places, where we wrongly included <glib/gi18n-lib.h> instead of <glib/gi18n.h>. For example under "clients/" directory.
Diffstat (limited to 'clients/tui')
-rw-r--r--clients/tui/newt/nmt-newt-form.c2
-rw-r--r--clients/tui/newt/nmt-newt-popup.c2
-rw-r--r--clients/tui/newt/nmt-newt-utils.c2
-rw-r--r--clients/tui/nm-editor-utils.c1
-rw-r--r--clients/tui/nmt-address-list.c2
-rw-r--r--clients/tui/nmt-connect-connection-list.c1
-rw-r--r--clients/tui/nmt-device-entry.c1
-rw-r--r--clients/tui/nmt-edit-connection-list.c2
-rw-r--r--clients/tui/nmt-editor-page.c2
-rw-r--r--clients/tui/nmt-editor-section.c2
-rw-r--r--clients/tui/nmt-editor.c1
-rw-r--r--clients/tui/nmt-ip-entry.c2
-rw-r--r--clients/tui/nmt-mtu-entry.c2
-rw-r--r--clients/tui/nmt-page-bond.c2
-rw-r--r--clients/tui/nmt-page-bridge-port.c2
-rw-r--r--clients/tui/nmt-page-bridge.c2
-rw-r--r--clients/tui/nmt-page-dsl.c2
-rw-r--r--clients/tui/nmt-page-ethernet.c2
-rw-r--r--clients/tui/nmt-page-infiniband.c2
-rw-r--r--clients/tui/nmt-page-ip4.c2
-rw-r--r--clients/tui/nmt-page-ip6.c2
-rw-r--r--clients/tui/nmt-page-ppp.c2
-rw-r--r--clients/tui/nmt-page-team-port.c2
-rw-r--r--clients/tui/nmt-page-team.c2
-rw-r--r--clients/tui/nmt-page-vlan.c2
-rw-r--r--clients/tui/nmt-page-wifi.c2
-rw-r--r--clients/tui/nmt-password-dialog.c2
-rw-r--r--clients/tui/nmt-password-fields.c2
-rw-r--r--clients/tui/nmt-route-editor.c2
-rw-r--r--clients/tui/nmt-route-entry.c1
-rw-r--r--clients/tui/nmt-route-table.c1
-rw-r--r--clients/tui/nmt-slave-list.c1
-rw-r--r--clients/tui/nmt-widget-list.c2
-rw-r--r--clients/tui/nmtui-connect.c2
-rw-r--r--clients/tui/nmtui-edit.c1
-rw-r--r--clients/tui/nmtui-hostname.c2
-rw-r--r--clients/tui/nmtui.c2
-rw-r--r--clients/tui/vpn-helpers.c1
38 files changed, 0 insertions, 67 deletions
diff --git a/clients/tui/newt/nmt-newt-form.c b/clients/tui/newt/nmt-newt-form.c
index 19bd39989e..ce401e2550 100644
--- a/clients/tui/newt/nmt-newt-form.c
+++ b/clients/tui/newt/nmt-newt-form.c
@@ -30,8 +30,6 @@
#include <string.h>
#include <unistd.h>
-#include <glib/gi18n-lib.h>
-
#include "nmt-newt-form.h"
#include "nmt-newt-button.h"
#include "nmt-newt-grid.h"
diff --git a/clients/tui/newt/nmt-newt-popup.c b/clients/tui/newt/nmt-newt-popup.c
index b604eaaa39..f7813063ed 100644
--- a/clients/tui/newt/nmt-newt-popup.c
+++ b/clients/tui/newt/nmt-newt-popup.c
@@ -28,8 +28,6 @@
#include "config.h"
-#include <glib/gi18n-lib.h>
-
#include "nmt-newt-popup.h"
#include "nmt-newt-form.h"
#include "nmt-newt-hacks.h"
diff --git a/clients/tui/newt/nmt-newt-utils.c b/clients/tui/newt/nmt-newt-utils.c
index b796219454..841144d8e6 100644
--- a/clients/tui/newt/nmt-newt-utils.c
+++ b/clients/tui/newt/nmt-newt-utils.c
@@ -28,8 +28,6 @@
#include <unistd.h>
#include <sys/wait.h>
-#include <glib/gi18n-lib.h>
-
#include "nm-default.h"
#include "nmt-newt-utils.h"
diff --git a/clients/tui/nm-editor-utils.c b/clients/tui/nm-editor-utils.c
index 8f15b734b5..befc5f396e 100644
--- a/clients/tui/nm-editor-utils.c
+++ b/clients/tui/nm-editor-utils.c
@@ -27,7 +27,6 @@
#include "config.h"
-#include <glib/gi18n.h>
#include <NetworkManager.h>
#include "nm-default.h"
diff --git a/clients/tui/nmt-address-list.c b/clients/tui/nmt-address-list.c
index 42873c521f..3faf3442ed 100644
--- a/clients/tui/nmt-address-list.c
+++ b/clients/tui/nmt-address-list.c
@@ -35,8 +35,6 @@
#include <stdlib.h>
#include <string.h>
-#include <glib/gi18n-lib.h>
-
#include "nmt-address-list.h"
#include "nmt-ip-entry.h"
diff --git a/clients/tui/nmt-connect-connection-list.c b/clients/tui/nmt-connect-connection-list.c
index 88502ba7c8..c21cc5be7f 100644
--- a/clients/tui/nmt-connect-connection-list.c
+++ b/clients/tui/nmt-connect-connection-list.c
@@ -27,7 +27,6 @@
#include "config.h"
#include <stdlib.h>
-#include <glib/gi18n-lib.h>
#include <NetworkManager.h>
diff --git a/clients/tui/nmt-device-entry.c b/clients/tui/nmt-device-entry.c
index 2af5e584c4..2760b1491a 100644
--- a/clients/tui/nmt-device-entry.c
+++ b/clients/tui/nmt-device-entry.c
@@ -40,7 +40,6 @@
#include <sys/socket.h>
#include <linux/if_arp.h>
-#include <glib/gi18n-lib.h>
#include <NetworkManager.h>
#include "nmtui.h"
diff --git a/clients/tui/nmt-edit-connection-list.c b/clients/tui/nmt-edit-connection-list.c
index e1b982dde9..72e8c706cd 100644
--- a/clients/tui/nmt-edit-connection-list.c
+++ b/clients/tui/nmt-edit-connection-list.c
@@ -26,8 +26,6 @@
#include "config.h"
-#include <glib/gi18n-lib.h>
-
#include "nmtui.h"
#include "nmtui-edit.h"
#include "nmt-edit-connection-list.h"
diff --git a/clients/tui/nmt-editor-page.c b/clients/tui/nmt-editor-page.c
index a46d0ed43d..f2afc8c702 100644
--- a/clients/tui/nmt-editor-page.c
+++ b/clients/tui/nmt-editor-page.c
@@ -26,8 +26,6 @@
#include "config.h"
-#include <glib/gi18n-lib.h>
-
#include "nmt-editor-page.h"
G_DEFINE_ABSTRACT_TYPE (NmtEditorPage, nmt_editor_page, G_TYPE_OBJECT)
diff --git a/clients/tui/nmt-editor-section.c b/clients/tui/nmt-editor-section.c
index ff463f7fe3..b9a3ae839b 100644
--- a/clients/tui/nmt-editor-section.c
+++ b/clients/tui/nmt-editor-section.c
@@ -25,8 +25,6 @@
#include "config.h"
-#include <glib/gi18n-lib.h>
-
#include "nmt-editor-section.h"
#include "nmt-newt-toggle-button.h"
diff --git a/clients/tui/nmt-editor.c b/clients/tui/nmt-editor.c
index 342da77d90..aaa73cbef5 100644
--- a/clients/tui/nmt-editor.c
+++ b/clients/tui/nmt-editor.c
@@ -27,7 +27,6 @@
#include "nmt-editor.h"
-#include <glib/gi18n-lib.h>
#include <nm-utils.h>
#include "nm-default.h"
diff --git a/clients/tui/nmt-ip-entry.c b/clients/tui/nmt-ip-entry.c
index 30c7e2e48f..d31a1f46ad 100644
--- a/clients/tui/nmt-ip-entry.c
+++ b/clients/tui/nmt-ip-entry.c
@@ -33,8 +33,6 @@
#include <netinet/in.h>
#include <stdlib.h>
-#include <glib/gi18n-lib.h>
-
#include "nmt-ip-entry.h"
G_DEFINE_TYPE (NmtIPEntry, nmt_ip_entry, NMT_TYPE_NEWT_ENTRY)
diff --git a/clients/tui/nmt-mtu-entry.c b/clients/tui/nmt-mtu-entry.c
index f599557aea..9f11af0a08 100644
--- a/clients/tui/nmt-mtu-entry.c
+++ b/clients/tui/nmt-mtu-entry.c
@@ -34,8 +34,6 @@
#include <stdlib.h>
-#include <glib/gi18n-lib.h>
-
#include "nmt-mtu-entry.h"
G_DEFINE_TYPE (NmtMtuEntry, nmt_mtu_entry, NMT_TYPE_NEWT_GRID)
diff --git a/clients/tui/nmt-page-bond.c b/clients/tui/nmt-page-bond.c
index ef7a79ae1d..ecc9aefcf3 100644
--- a/clients/tui/nmt-page-bond.c
+++ b/clients/tui/nmt-page-bond.c
@@ -27,8 +27,6 @@
#include "config.h"
-#include <glib/gi18n-lib.h>
-
#include "nm-default.h"
#include "nmt-page-bond.h"
diff --git a/clients/tui/nmt-page-bridge-port.c b/clients/tui/nmt-page-bridge-port.c
index c4238fff5c..fdf4403921 100644
--- a/clients/tui/nmt-page-bridge-port.c
+++ b/clients/tui/nmt-page-bridge-port.c
@@ -23,8 +23,6 @@
#include "config.h"
-#include <glib/gi18n-lib.h>
-
#include "nm-default.h"
#include "nmt-page-bridge-port.h"
diff --git a/clients/tui/nmt-page-bridge.c b/clients/tui/nmt-page-bridge.c
index 042a650938..e9b0e66dc6 100644
--- a/clients/tui/nmt-page-bridge.c
+++ b/clients/tui/nmt-page-bridge.c
@@ -23,8 +23,6 @@
#include "config.h"
-#include <glib/gi18n-lib.h>
-
#include "nm-default.h"
#include "nmt-page-bridge.h"
diff --git a/clients/tui/nmt-page-dsl.c b/clients/tui/nmt-page-dsl.c
index 9916553d0b..2346b496be 100644
--- a/clients/tui/nmt-page-dsl.c
+++ b/clients/tui/nmt-page-dsl.c
@@ -23,8 +23,6 @@
#include "config.h"
-#include <glib/gi18n-lib.h>
-
#include "nm-default.h"
#include "nmt-page-dsl.h"
#include "nmt-page-ethernet.h"
diff --git a/clients/tui/nmt-page-ethernet.c b/clients/tui/nmt-page-ethernet.c
index 433710186f..fed81f1c65 100644
--- a/clients/tui/nmt-page-ethernet.c
+++ b/clients/tui/nmt-page-ethernet.c
@@ -23,8 +23,6 @@
#include "config.h"
-#include <glib/gi18n-lib.h>
-
#include "nm-default.h"
#include "nmt-page-ethernet.h"
#include "nmt-mac-entry.h"
diff --git a/clients/tui/nmt-page-infiniband.c b/clients/tui/nmt-page-infiniband.c
index 69ae2818ca..e10c5a7ac3 100644
--- a/clients/tui/nmt-page-infiniband.c
+++ b/clients/tui/nmt-page-infiniband.c
@@ -23,8 +23,6 @@
#include "config.h"
-#include <glib/gi18n-lib.h>
-
#include "nm-default.h"
#include "nmt-page-infiniband.h"
#include "nmt-mtu-entry.h"
diff --git a/clients/tui/nmt-page-ip4.c b/clients/tui/nmt-page-ip4.c
index 5ec5736bbb..352fdab8b3 100644
--- a/clients/tui/nmt-page-ip4.c
+++ b/clients/tui/nmt-page-ip4.c
@@ -25,8 +25,6 @@
#include <stdlib.h>
-#include <glib/gi18n-lib.h>
-
#include "nm-default.h"
#include "nmt-page-ip4.h"
#include "nmt-ip-entry.h"
diff --git a/clients/tui/nmt-page-ip6.c b/clients/tui/nmt-page-ip6.c
index ea84af31c5..24678e50ec 100644
--- a/clients/tui/nmt-page-ip6.c
+++ b/clients/tui/nmt-page-ip6.c
@@ -25,8 +25,6 @@
#include <stdlib.h>
-#include <glib/gi18n-lib.h>
-
#include "nm-default.h"
#include "nmt-page-ip6.h"
#include "nmt-ip-entry.h"
diff --git a/clients/tui/nmt-page-ppp.c b/clients/tui/nmt-page-ppp.c
index 7c2d940a94..662ebd9c4d 100644
--- a/clients/tui/nmt-page-ppp.c
+++ b/clients/tui/nmt-page-ppp.c
@@ -25,8 +25,6 @@
#include <stdlib.h>
-#include <glib/gi18n-lib.h>
-
#include "nm-default.h"
#include "nmt-page-ppp.h"
#include "nmt-newt-section.h"
diff --git a/clients/tui/nmt-page-team-port.c b/clients/tui/nmt-page-team-port.c
index dfcaa15ed4..797c1cf125 100644
--- a/clients/tui/nmt-page-team-port.c
+++ b/clients/tui/nmt-page-team-port.c
@@ -23,8 +23,6 @@
#include "config.h"
-#include <glib/gi18n-lib.h>
-
#include "nm-default.h"
#include "nmt-page-team-port.h"
diff --git a/clients/tui/nmt-page-team.c b/clients/tui/nmt-page-team.c
index d153738ef5..572941b663 100644
--- a/clients/tui/nmt-page-team.c
+++ b/clients/tui/nmt-page-team.c
@@ -23,8 +23,6 @@
#include "config.h"
-#include <glib/gi18n-lib.h>
-
#include "nm-default.h"
#include "nmt-page-team.h"
diff --git a/clients/tui/nmt-page-vlan.c b/clients/tui/nmt-page-vlan.c
index 637987c398..d392c55235 100644
--- a/clients/tui/nmt-page-vlan.c
+++ b/clients/tui/nmt-page-vlan.c
@@ -23,8 +23,6 @@
#include "config.h"
-#include <glib/gi18n-lib.h>
-
#include "nm-default.h"
#include "nm-editor-bindings.h"
diff --git a/clients/tui/nmt-page-wifi.c b/clients/tui/nmt-page-wifi.c
index 8a0c671639..c4b085ea30 100644
--- a/clients/tui/nmt-page-wifi.c
+++ b/clients/tui/nmt-page-wifi.c
@@ -29,8 +29,6 @@
#include <stdlib.h>
-#include <glib/gi18n-lib.h>
-
#include "nm-default.h"
#include "nmt-page-wifi.h"
#include "nmt-mac-entry.h"
diff --git a/clients/tui/nmt-password-dialog.c b/clients/tui/nmt-password-dialog.c
index aeece1211f..8eeaa54896 100644
--- a/clients/tui/nmt-password-dialog.c
+++ b/clients/tui/nmt-password-dialog.c
@@ -26,8 +26,6 @@
#include "config.h"
-#include <glib/gi18n-lib.h>
-
#include "nmt-password-dialog.h"
#include "nm-secret-agent-simple.h"
#include "nmtui.h"
diff --git a/clients/tui/nmt-password-fields.c b/clients/tui/nmt-password-fields.c
index 7ef037b9de..cba649356e 100644
--- a/clients/tui/nmt-password-fields.c
+++ b/clients/tui/nmt-password-fields.c
@@ -27,8 +27,6 @@
#include "config.h"
-#include <glib/gi18n-lib.h>
-
#include "nmt-password-fields.h"
G_DEFINE_TYPE (NmtPasswordFields, nmt_password_fields, NMT_TYPE_NEWT_GRID)
diff --git a/clients/tui/nmt-route-editor.c b/clients/tui/nmt-route-editor.c
index 875c2c99a4..dc4d118b74 100644
--- a/clients/tui/nmt-route-editor.c
+++ b/clients/tui/nmt-route-editor.c
@@ -27,8 +27,6 @@
#include "config.h"
-#include <glib/gi18n-lib.h>
-
#include "nm-default.h"
#include "nmt-route-editor.h"
#include "nmt-route-table.h"
diff --git a/clients/tui/nmt-route-entry.c b/clients/tui/nmt-route-entry.c
index 3a87552089..1cc99940f8 100644
--- a/clients/tui/nmt-route-entry.c
+++ b/clients/tui/nmt-route-entry.c
@@ -32,7 +32,6 @@
#include <netinet/in.h>
#include <stdlib.h>
-#include <glib/gi18n-lib.h>
#include <NetworkManager.h>
#include "nmt-route-entry.h"
diff --git a/clients/tui/nmt-route-table.c b/clients/tui/nmt-route-table.c
index 523d8ee32a..0731acb6d0 100644
--- a/clients/tui/nmt-route-table.c
+++ b/clients/tui/nmt-route-table.c
@@ -30,7 +30,6 @@
#include <netinet/in.h>
#include <stdlib.h>
-#include <glib/gi18n-lib.h>
#include <NetworkManager.h>
#include "nmt-route-table.h"
diff --git a/clients/tui/nmt-slave-list.c b/clients/tui/nmt-slave-list.c
index 9c8596f77c..5a9b7482eb 100644
--- a/clients/tui/nmt-slave-list.c
+++ b/clients/tui/nmt-slave-list.c
@@ -26,7 +26,6 @@
#include "config.h"
-#include <glib/gi18n-lib.h>
#include <NetworkManager.h>
#include "nmt-slave-list.h"
diff --git a/clients/tui/nmt-widget-list.c b/clients/tui/nmt-widget-list.c
index 9159ed989a..b314e146a0 100644
--- a/clients/tui/nmt-widget-list.c
+++ b/clients/tui/nmt-widget-list.c
@@ -37,8 +37,6 @@
#include <stdlib.h>
#include <string.h>
-#include <glib/gi18n-lib.h>
-
#include "nmt-widget-list.h"
#include "nmt-newt.h"
diff --git a/clients/tui/nmtui-connect.c b/clients/tui/nmtui-connect.c
index 438915d2a6..43a5cf9db1 100644
--- a/clients/tui/nmtui-connect.c
+++ b/clients/tui/nmtui-connect.c
@@ -28,8 +28,6 @@
#include <stdlib.h>
-#include <glib/gi18n-lib.h>
-
#include "nmt-newt.h"
#include "nmtui.h"
diff --git a/clients/tui/nmtui-edit.c b/clients/tui/nmtui-edit.c
index 0c3206da60..258b798a52 100644
--- a/clients/tui/nmtui-edit.c
+++ b/clients/tui/nmtui-edit.c
@@ -27,7 +27,6 @@
#include <stdlib.h>
-#include <glib/gi18n-lib.h>
#include <NetworkManager.h>
#include "nmtui.h"
diff --git a/clients/tui/nmtui-hostname.c b/clients/tui/nmtui-hostname.c
index 23de95b854..f77a918b33 100644
--- a/clients/tui/nmtui-hostname.c
+++ b/clients/tui/nmtui-hostname.c
@@ -25,8 +25,6 @@
#include "config.h"
-#include <glib/gi18n-lib.h>
-
#include "nmt-newt.h"
#include "nmtui.h"
diff --git a/clients/tui/nmtui.c b/clients/tui/nmtui.c
index d9e5142be7..20e7d02b04 100644
--- a/clients/tui/nmtui.c
+++ b/clients/tui/nmtui.c
@@ -30,8 +30,6 @@
#include <stdlib.h>
#include <string.h>
-#include <glib/gi18n-lib.h>
-
#include <NetworkManager.h>
#include "nm-default.h"
diff --git a/clients/tui/vpn-helpers.c b/clients/tui/vpn-helpers.c
index 5ab22f4ef1..9b623aab08 100644
--- a/clients/tui/vpn-helpers.c
+++ b/clients/tui/vpn-helpers.c
@@ -32,7 +32,6 @@
#include <string.h>
#include <gmodule.h>
-#include <glib/gi18n.h>
#include "nm-default.h"
#include "vpn-helpers.h"