summaryrefslogtreecommitdiff
path: root/src/nm-pacrunner-manager.h
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2016-08-19 09:32:20 +0200
committerThomas Haller <thaller@redhat.com>2016-10-04 11:44:44 +0200
commita9820a63d4f60c083737ab001c2815271db1eb55 (patch)
tree138b02a6e201710cf4edd8bb9e55b12804c67024 /src/nm-pacrunner-manager.h
parent27811b792c4607550d60103165bb19be5fd3c3fd (diff)
downloadNetworkManager-a9820a63d4f60c083737ab001c2815271db1eb55.tar.gz
proxy: embed private date in NMPacRunnerManager and NMProxyConfig
These are final/sealed types (that is without subclasses). We can hide the type structures and neatly embed the private data there.
Diffstat (limited to 'src/nm-pacrunner-manager.h')
-rw-r--r--src/nm-pacrunner-manager.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/nm-pacrunner-manager.h b/src/nm-pacrunner-manager.h
index 3a21350ef7..e811d69c84 100644
--- a/src/nm-pacrunner-manager.h
+++ b/src/nm-pacrunner-manager.h
@@ -28,13 +28,7 @@
#define NM_IS_PACRUNNER_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), NM_TYPE_PACRUNNER_MANAGER))
#define NM_PACRUNNER_MANAGER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), NM_TYPE_PACRUNNER_MANAGER, NMPacRunnerManagerClass))
-struct _NMPacRunnerManager {
- GObject parent;
-};
-
-typedef struct {
- GObjectClass parent;
-} NMPacRunnerManagerClass;
+typedef struct _NMPacRunnerManagerClass NMPacRunnerManagerClass;
GType nm_pacrunner_manager_get_type (void);