libnm: drop _NMConnectionForEachSecretFunc from public headers

It was always a private typedef. Not meant to be used.  This was left
over since commit e46d484fae ('libnm: hide NMSetting types from public
headers')
This commit is contained in:
Thomas Haller 2023-02-27 11:02:40 +01:00
parent 599fe234ea
commit 93b94a6151
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728
2 changed files with 2 additions and 3 deletions

View file

@ -1021,6 +1021,8 @@ _nm_connection_serialize_secrets(NMConnectionSerializationFlags flags,
void _nm_connection_clear_secrets_by_secret_flags(NMConnection *self,
NMSettingSecretFlags filter_flags);
typedef gboolean (*_NMConnectionForEachSecretFunc)(NMSettingSecretFlags flags, gpointer user_data);
GVariant *_nm_connection_for_each_secret(NMConnection *self,
GVariant *secrets,
gboolean remove_non_secrets,

View file

@ -164,9 +164,6 @@ typedef void (*NMSettingValueIterFn)(NMSetting *setting,
GParamFlags flags,
gpointer user_data);
/*< private >*/
typedef gboolean (*_NMConnectionForEachSecretFunc)(NMSettingSecretFlags flags, gpointer user_data);
typedef struct _NMSettingClass NMSettingClass;
GType nm_setting_get_type(void);