libnm: fix placement of some "Since:" tags

libnm-client-impl/nm-client.c:8398: warning: multi-line since docs found
  libnm-client-impl/nm-device-macvlan.c:115: warning: multi-line since docs found
  libnm-client-impl/nm-device-vxlan.c:540: warning: multi-line since docs found
  libnm-client-impl/nm-device-vxlan.c:92: warning: multi-line since docs found
  libnm-core-impl/nm-setting-ethtool.c:41: warning: multi-line since docs found
  libnm-core-impl/nm-setting-ip-config.c:2475: warning: multi-line since docs found
  libnm-core-impl/nm-setting-ip-config.c:2504: warning: multi-line since docs found
This commit is contained in:
Lubomir Rintel
2022-05-05 12:04:36 +02:00
parent 649314ddaa
commit a3174af914
5 changed files with 14 additions and 14 deletions

View File

@@ -8399,9 +8399,9 @@ nm_client_class_init(NMClientClass *client_class)
*
* Whether a connectivity checking service has been enabled.
*
* Since: 1.10
*
* The property setter is a synchronous D-Bus call. This is deprecated since 1.22.
*
* Since: 1.10
*/
obj_properties[PROP_CONNECTIVITY_CHECK_ENABLED] =
g_param_spec_boolean(NM_CLIENT_CONNECTIVITY_CHECK_ENABLED,

View File

@@ -120,11 +120,11 @@ nm_device_macvlan_get_tap(NMDeviceMacvlan *device)
* Returns: the hardware address. This is the internal string used by the
* device, and must not be modified.
*
* Since: 1.2
*
* This property is not implemented yet, and the function always return NULL.
*
* Deprecated: 1.24: Use nm_device_get_hw_address() instead.
*
* Since: 1.2
**/
const char *
nm_device_macvlan_get_hw_address(NMDeviceMacvlan *device)

View File

@@ -96,10 +96,10 @@ nm_device_vxlan_get_hw_address(NMDeviceVxlan *device)
*
* Returns: %TRUE if the device has carrier.
*
* Since: 1.2
*
* This property is not implemented yet, and the function always returns
* FALSE.
*
* Since: 1.2
**/
gboolean
nm_device_vxlan_get_carrier(NMDeviceVxlan *device)
@@ -541,9 +541,9 @@ nm_device_vxlan_class_init(NMDeviceVxlanClass *klass)
*
* Whether the device has carrier.
*
* Since: 1.2
*
* This property is not implemented yet, and the property is always FALSE.
*
* Since: 1.2
**/
obj_properties[PROP_CARRIER] = g_param_spec_boolean(NM_DEVICE_VXLAN_CARRIER,
"",

View File

@@ -45,11 +45,11 @@ get_variant_type_from_ethtool_id(NMEthtoolID ethtool_id)
*
* %Returns: %TRUE, if @optname is valid
*
* Since: 1.20
*
* Note that nm_ethtool_optname_is_feature() was first added to the libnm header files
* in 1.14.0 but forgot to actually add to the library. This happened belatedly in 1.20.0 and
* the stable versions 1.18.2, 1.16.4 and 1.14.8 (with linker version "libnm_1_14_8").
*
* Since: 1.20
*/
gboolean
nm_ethtool_optname_is_feature(const char *optname)

View File

@@ -2481,10 +2481,10 @@ nm_ip_routing_rule_set_suppress_prefixlength(NMIPRoutingRule *self, gint32 suppr
*
* Returns: %TRUE if a uid range is set.
*
* Since: 1.34
*
* This API was wrongly introduced in the header files for 1.32, but the
* symbols were not exported. The API only works since 1.34 and newer.
*
* Since: 1.34
*/
gboolean
nm_ip_routing_rule_get_uid_range(const NMIPRoutingRule *self,
@@ -2509,10 +2509,10 @@ nm_ip_routing_rule_get_uid_range(const NMIPRoutingRule *self,
* For a valid range, start must be less or equal to end.
* If set to an invalid range, the range gets unset.
*
* Since: 1.34
*
* This API was wrongly introduced in the header files for 1.32, but the
* symbols were not exported. The API only works since 1.34 and newer.
*
* Since: 1.34
*/
void
nm_ip_routing_rule_set_uid_range(NMIPRoutingRule *self,