diff options
| author | Michael Biebl <biebl@debian.org> | 2018-06-04 00:07:45 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2018-06-04 00:07:45 +0200 |
| commit | 04bc9e1cd3544445d883ad29ea108c1645c8e7b7 (patch) | |
| tree | d10c354b1b980ca8a7b9e48ec9019e8ed88bde2b /libnm/nm-remote-settings.h | |
| parent | ee9c73a923909e23a649407be77e25235d769e25 (diff) | |
New upstream version 1.11.4 upstream/1.11.4
Diffstat (limited to 'libnm/nm-remote-settings.h')
| -rw-r--r-- | libnm/nm-remote-settings.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/libnm/nm-remote-settings.h b/libnm/nm-remote-settings.h index 06d3ac0a..ee0e0f22 100644 --- a/libnm/nm-remote-settings.h +++ b/libnm/nm-remote-settings.h @@ -22,9 +22,11 @@ #ifndef __NM_REMOTE_SETTINGS_H__ #define __NM_REMOTE_SETTINGS_H__ -#include "nm-object.h" +#if !((NETWORKMANAGER_COMPILATION) & NM_NETWORKMANAGER_COMPILATION_WITH_LIBNM_PRIVATE) +#error Cannot use this header. +#endif -G_BEGIN_DECLS +#include "nm-object.h" #define NM_TYPE_REMOTE_SETTINGS (nm_remote_settings_get_type ()) #define NM_REMOTE_SETTINGS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), NM_TYPE_REMOTE_SETTINGS, NMRemoteSettings)) @@ -53,14 +55,10 @@ struct _NMRemoteSettings { struct _NMRemoteSettingsClass { NMObjectClass parent; - /* Signals */ void (*connection_added) (NMRemoteSettings *settings, NMRemoteConnection *connection); void (*connection_removed) (NMRemoteSettings *settings, NMRemoteConnection *connection); - - /*< private >*/ - gpointer padding[8]; }; GType nm_remote_settings_get_type (void); @@ -125,6 +123,4 @@ gboolean nm_remote_settings_save_hostname_finish (NMRemoteSettings *settings, GAsyncResult *result, GError **error); -G_END_DECLS - #endif /* __NM_REMOTE_SETTINGS_H__ */ |