diff options
author | Dan Winship <danw@gnome.org> | 2014-11-10 15:24:02 -0500 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2015-07-25 10:51:23 +0200 |
commit | 72953e3dc4e8ae5c69edae544c2bfdf2f7266354 (patch) | |
tree | f2aa2d9cb82b5d71d4cf78a838c3f1fbb08df0ee /libnm-util | |
parent | 232d045c2e15ab9559fd462c162771de14b51720 (diff) | |
download | NetworkManager-72953e3dc4e8ae5c69edae544c2bfdf2f7266354.tar.gz |
libnm-glib: add libnm compat defines to nm-vpn-plugin-ui-interface.h
Add a bunch of compat defines to nm-vpn-plugin-ui-interface.h, to make
it easier to compile the same code against libnm-glib's
NMVpnPluginUiInterface and libnm's NMVpnEditorPlugin.
https://bugzilla.gnome.org/show_bug.cgi?id=752500
Diffstat (limited to 'libnm-util')
-rw-r--r-- | libnm-util/nm-setting-vpn.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libnm-util/nm-setting-vpn.h b/libnm-util/nm-setting-vpn.h index fbc9fe34f0..acce6e63b4 100644 --- a/libnm-util/nm-setting-vpn.h +++ b/libnm-util/nm-setting-vpn.h @@ -112,6 +112,10 @@ void nm_setting_vpn_foreach_secret (NMSettingVPN *setting, NMVPNIterFunc func, gpointer user_data); +#ifdef NM_VPN_LIBNM_COMPAT +#define NMSettingVpn NMSettingVPN +#endif + G_END_DECLS #endif /* NM_SETTING_VPN_H */ |