mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-04 08:20:28 +01:00
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:
parent
c033330c41
commit
714504faf2
1 changed files with 2 additions and 0 deletions
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue