mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-11 23:50:26 +01:00
libnm: fix introspection for NMSettingWirelessSecurityWpsMethod
This is a flags type, not an enum.
This affects the generated glib-mkenums type, changing it from GEnum to
GFlags. That is possibly a change in behavior for language bindings, but
hopefully nobody is badly affected by this.
Fixes: e6f95b50c8
This commit is contained in:
parent
0fdcbc6bfa
commit
e99deb3912
1 changed files with 4 additions and 1 deletions
|
|
@ -99,9 +99,12 @@ typedef enum {
|
|||
*
|
||||
* Configure the use of WPS by a connection while it activates.
|
||||
*
|
||||
* Note: prior to 1.16, this was a GEnum type instead of a GFlags type
|
||||
* altough, with the same numeric values.
|
||||
*
|
||||
* Since: 1.10
|
||||
**/
|
||||
typedef enum {
|
||||
typedef enum { /*< flags >*/
|
||||
NM_SETTING_WIRELESS_SECURITY_WPS_METHOD_DEFAULT = 0x00000000,
|
||||
NM_SETTING_WIRELESS_SECURITY_WPS_METHOD_DISABLED = 0x00000001,
|
||||
NM_SETTING_WIRELESS_SECURITY_WPS_METHOD_AUTO = 0x00000002,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue