Commit 52baa8c5 authored by Thomas Haller's avatar Thomas Haller

clients: drop redundant #include "NetworkManager.h"

This header is already included by "nm-default.h".
parent 25ade397
......@@ -20,7 +20,6 @@
#ifndef NMC_NMCLI_H
#define NMC_NMCLI_H
#include "NetworkManager.h"
#include "nm-secret-agent-old.h"
#include "nm-meta-setting-desc.h"
......
......@@ -27,7 +27,6 @@
#include "nm-common-macros.h"
#include "nm-utils/nm-enum-utils.h"
#include "NetworkManager.h"
#include "nm-vpn-helpers.h"
#include "nm-client-utils.h"
#include "nm-meta-setting-access.h"
......
......@@ -33,7 +33,6 @@
#include <string.h>
#include "NetworkManager.h"
#include "nm-vpn-service-plugin.h"
#include "nm-vpn-helpers.h"
......
......@@ -19,7 +19,6 @@
#ifndef __NM_SECRET_AGENT_SIMPLE_H__
#define __NM_SECRET_AGENT_SIMPLE_H__
#include "NetworkManager.h"
#include "nm-secret-agent-old.h"
#define NM_TYPE_SECRET_AGENT_SIMPLE (nm_secret_agent_simple_get_type ())
......
......@@ -19,8 +19,6 @@
#ifndef __NM_VPN_HELPERS_H__
#define __NM_VPN_HELPERS_H__
#include "NetworkManager.h"
typedef struct {
const char *name;
const char *ui_name;
......
......@@ -19,8 +19,6 @@
#include "nm-default.h"
#include "NetworkManager.h"
#include "nm-meta-setting-access.h"
#include "nm-utils/nm-test-utils.h"
......
......@@ -38,8 +38,6 @@
#include <getopt.h>
#include <locale.h>
#include "NetworkManager.h"
#define PROGRESS_STEPS 15
#define EXIT_FAILURE_OFFLINE 1
......
......@@ -19,8 +19,6 @@
#ifndef NM_EDITOR_BINDINGS_H
#define NM_EDITOR_BINDINGS_H
#include "NetworkManager.h"
void nm_editor_bindings_init (void);
void nm_editor_bind_ip_addresses_with_prefix_to_strv (int family,
......
......@@ -27,8 +27,6 @@
#include "nm-default.h"
#include "NetworkManager.h"
#include "nm-editor-utils.h"
#if 0
#include "nm-vpn-helpers.h"
......
......@@ -19,8 +19,6 @@
#ifndef NM_EDITOR_UTILS_H
#define NM_EDITOR_UTILS_H
#include "NetworkManager.h"
typedef struct {
const char *name;
GType setting_type;
......
......@@ -28,8 +28,6 @@
#include <stdlib.h>
#include "NetworkManager.h"
#include "nmtui.h"
#include "nmt-connect-connection-list.h"
#include "nm-client-utils.h"
......
......@@ -40,8 +40,6 @@
#include <sys/socket.h>
#include <linux/if_arp.h>
#include "NetworkManager.h"
#include "nmtui.h"
#include "nmt-device-entry.h"
......
......@@ -21,8 +21,6 @@
#include "nmt-editor-grid.h"
#include "NetworkManager.h"
#define NMT_TYPE_DEVICE_ENTRY (nmt_device_entry_get_type ())
#define NMT_DEVICE_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), NMT_TYPE_DEVICE_ENTRY, NmtDeviceEntry))
#define NMT_DEVICE_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), NMT_TYPE_DEVICE_ENTRY, NmtDeviceEntryClass))
......
......@@ -21,8 +21,6 @@
#include "nmt-newt.h"
#include "NetworkManager.h"
#define NMT_TYPE_EDIT_CONNECTION_LIST (nmt_edit_connection_list_get_type ())
#define NMT_EDIT_CONNECTION_LIST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), NMT_TYPE_EDIT_CONNECTION_LIST, NmtEditConnectionList))
#define NMT_EDIT_CONNECTION_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), NMT_TYPE_EDIT_CONNECTION_LIST, NmtEditConnectionListClass))
......
......@@ -19,8 +19,6 @@
#ifndef NMT_EDITOR_PAGE_H
#define NMT_EDITOR_PAGE_H
#include "NetworkManager.h"
#include "nmt-editor-grid.h"
#include "nmt-editor-section.h"
......
......@@ -19,8 +19,6 @@
#ifndef NMT_EDITOR_H
#define NMT_EDITOR_H
#include "NetworkManager.h"
#include "nmt-newt.h"
#define NMT_TYPE_EDITOR (nmt_editor_get_type ())
......
......@@ -32,7 +32,6 @@
#include <string.h>
#include "NetworkManager.h"
#include "nm-common-macros.h"
......
......@@ -19,8 +19,6 @@
#ifndef NMT_ROUTE_EDITOR_H
#define NMT_ROUTE_EDITOR_H
#include "NetworkManager.h"
#include "nmt-newt.h"
#define NMT_TYPE_ROUTE_EDITOR (nmt_route_editor_get_type ())
......
......@@ -32,8 +32,6 @@
#include <netinet/in.h>
#include <stdlib.h>
#include "NetworkManager.h"
#include "nmt-route-entry.h"
#include "nmt-ip-entry.h"
......
......@@ -30,8 +30,6 @@
#include <netinet/in.h>
#include <stdlib.h>
#include "NetworkManager.h"
#include "nmt-route-table.h"
#include "nmt-route-entry.h"
#include "nmt-widget-list.h"
......
......@@ -26,8 +26,6 @@
#include "nm-default.h"
#include "NetworkManager.h"
#include "nmt-slave-list.h"
G_DEFINE_TYPE (NmtSlaveList, nmt_slave_list, NMT_TYPE_EDIT_CONNECTION_LIST)
......
......@@ -27,8 +27,6 @@
#include <stdlib.h>
#include "NetworkManager.h"
#include "nmtui.h"
#include "nmtui-edit.h"
#include "nmt-edit-connection-list.h"
......
......@@ -30,8 +30,6 @@
#include <stdlib.h>
#include <string.h>
#include "NetworkManager.h"
#include "nmt-newt.h"
#include "nm-editor-bindings.h"
......
......@@ -19,8 +19,6 @@
#ifndef NMTUI_H
#define NMTUI_H
#include "NetworkManager.h"
extern NMClient *nm_client;
void nmtui_quit (void);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment