libnm/nm-vpn-connection: un-deprecate the NMVpnStateReason use in a header

Otherwise merely including a header would trigger a deprecation warhing.
The signal slot is not really used anyway.
This commit is contained in:
Thomas Haller 2017-03-20 14:51:09 +01:00 committed by Lubomir Rintel
parent c033330c41
commit 714504faf2

View file

@ -59,10 +59,12 @@ typedef struct {
* If you use this signal slot, you are advised to cast the reason
* to the NMActiveConnectionStateReason type, which is fully compatible.
*/
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
NM_DEPRECATED_IN_1_8
void (*vpn_state_changed) (NMVpnConnection *connection,
NMVpnConnectionState state,
NMVpnConnectionStateReason reason);
G_GNUC_END_IGNORE_DEPRECATIONS
/*< private >*/
gpointer padding[4];