diff options
| author | Michael Biebl <biebl@debian.org> | 2015-01-22 00:29:53 +0100 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2015-01-22 00:29:53 +0100 |
| commit | 4d939c60d4ac257a2977871baf3b8b3671b5a4f7 (patch) | |
| tree | 318c08dea542d7865422af76e2d36a9559340cd3 /src/nm-connectivity.h | |
| parent | bb9eef75b2aaaab741e2b99911c8be3db6d1bc0b (diff) | |
| parent | 2c032d8f1c6292c1338a615e6ec40252889ba85c (diff) | |
Merge tag 'upstream/1.0.0' into experimental
Upstream version 1.0.0
Diffstat (limited to 'src/nm-connectivity.h')
| -rw-r--r-- | src/nm-connectivity.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/nm-connectivity.h b/src/nm-connectivity.h index 04d0f2a3..771abdc2 100644 --- a/src/nm-connectivity.h +++ b/src/nm-connectivity.h @@ -18,14 +18,15 @@ * Copyright (C) 2011 Thomas Bechtold <thomasbechtold@jpberlin.de> */ -#ifndef NM_CONNECTIVITY_H -#define NM_CONNECTIVITY_H +#ifndef __NETWORKMANAGER_CONNECTIVITY_H__ +#define __NETWORKMANAGER_CONNECTIVITY_H__ #include <glib.h> #include <glib-object.h> #include <gio/gio.h> -#include "NetworkManager.h" +#include "nm-dbus-interface.h" +#include "nm-types.h" #define NM_TYPE_CONNECTIVITY (nm_connectivity_get_type ()) #define NM_CONNECTIVITY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), NM_TYPE_CONNECTIVITY, NMConnectivity)) @@ -40,9 +41,9 @@ #define NM_CONNECTIVITY_RESPONSE "response" #define NM_CONNECTIVITY_STATE "state" -typedef struct { +struct _NMConnectivity { GObject parent; -} NMConnectivity; +}; typedef struct { GObjectClass parent; @@ -64,4 +65,4 @@ NMConnectivityState nm_connectivity_check_finish (NMConnectivity *self, GAsyncResult *result, GError **error); -#endif /* NM_CONNECTIVITY_H */ +#endif /* __NETWORKMANAGER_CONNECTIVITY_H__ */ |