Commit 1d47643d authored by Thomas Haller's avatar Thomas Haller

libnm/docs: fix enum definition that confuses gtk-doc

    WARNING: Failed to parse "| NM_SETTING_WIRED_WAKE_ON_LAN_IGNORE, /*< skip >*/" in /data/src/NetworkManager/build/../libnm-core/nm-setting-wired.h

Fixes: c3f6356a
parent 57d0d94b
Pipeline #20699 canceled with stage
......@@ -41,6 +41,11 @@
/*****************************************************************************/
G_STATIC_ASSERT (NM_SETTING_WIRED_WAKE_ON_LAN_EXCLUSIVE_FLAGS == ( NM_SETTING_WIRED_WAKE_ON_LAN_DEFAULT
| NM_SETTING_WIRED_WAKE_ON_LAN_IGNORE));
/*****************************************************************************/
NM_GOBJECT_PROPERTIES_DEFINE (NMSettingWired,
PROP_PORT,
PROP_SPEED,
......
......@@ -75,8 +75,7 @@ typedef enum { /*< flags >*/
NM_SETTING_WIRED_WAKE_ON_LAN_DEFAULT = 0x1,
NM_SETTING_WIRED_WAKE_ON_LAN_IGNORE = 0x8000,
NM_SETTING_WIRED_WAKE_ON_LAN_EXCLUSIVE_FLAGS = NM_SETTING_WIRED_WAKE_ON_LAN_DEFAULT
| NM_SETTING_WIRED_WAKE_ON_LAN_IGNORE, /*< skip >*/
NM_SETTING_WIRED_WAKE_ON_LAN_EXCLUSIVE_FLAGS = 0x8001, /*< skip >*/
} NMSettingWiredWakeOnLan;
#define NM_SETTING_WIRED_PORT "port"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment