summaryrefslogtreecommitdiff
path: root/libnm-util
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2014-11-10 15:24:02 -0500
committerLubomir Rintel <lkundrak@v3.sk>2015-07-25 10:51:23 +0200
commit72953e3dc4e8ae5c69edae544c2bfdf2f7266354 (patch)
treef2aa2d9cb82b5d71d4cf78a838c3f1fbb08df0ee /libnm-util
parent232d045c2e15ab9559fd462c162771de14b51720 (diff)
downloadNetworkManager-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.h4
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 */