libnm-util: add some more introspection annotations to silence warnings

This commit is contained in:
Dan Winship 2011-10-13 12:24:04 -04:00 committed by Dan Williams
parent 786f7d07df
commit 7b7d7bce2f
3 changed files with 11 additions and 11 deletions

View file

@ -975,8 +975,8 @@ nm_connection_clear_secrets (NMConnection *connection)
/** /**
* nm_connection_clear_secrets_with_flags: * nm_connection_clear_secrets_with_flags:
* @connection: the #NMConnection * @connection: the #NMConnection
* @func: function to be called to determine whether a specific secret should be * @func: (scope call): function to be called to determine whether a
* cleared or not * specific secret should be cleared or not
* @user_data: caller-supplied data passed to @func * @user_data: caller-supplied data passed to @func
* *
* Clears and frees secrets determined by @func. * Clears and frees secrets determined by @func.

View file

@ -308,8 +308,8 @@ nm_setting_get_name (NMSetting *setting)
/** /**
* nm_setting_verify: * nm_setting_verify:
* @setting: the #NMSetting to verify * @setting: the #NMSetting to verify
* @all_settings: a #GSList of all settings in the connection from which @setting * @all_settings: (element-type NMSetting): a #GSList of all settings
* came * in the connection from which @setting came
* @error: location to store error, or %NULL * @error: location to store error, or %NULL
* *
* Validates the setting. Each setting's properties have allowed values, and * Validates the setting. Each setting's properties have allowed values, and
@ -670,8 +670,8 @@ clear_secrets_with_flags (NMSetting *setting,
/** /**
* nm_setting_clear_secrets_with_flags: * nm_setting_clear_secrets_with_flags:
* @setting: the #NMSetting * @setting: the #NMSetting
* @func: function to be called to determine whether a specific secret should be * @func: (scope call): function to be called to determine whether a
* cleared or not * specific secret should be cleared or not
* @user_data: caller-supplied data passed to @func * @user_data: caller-supplied data passed to @func
* *
* Clears and frees secrets determined by @func. * Clears and frees secrets determined by @func.

View file

@ -490,7 +490,7 @@ nm_utils_gvalue_hash_dup (GHashTable *hash)
} }
/** /**
* nm_utils_slist_free: * nm_utils_slist_free: (skip)
* @list: a #GSList * @list: a #GSList
* @elem_destroy_fn: user function called for each element in @list * @elem_destroy_fn: user function called for each element in @list
* *
@ -1373,7 +1373,7 @@ nm_utils_ip4_addresses_from_gvalue (const GValue *value)
/** /**
* nm_utils_ip4_addresses_to_gvalue: * nm_utils_ip4_addresses_to_gvalue:
* @list: a list of #NMIP4Address objects * @list: (element-type NMIP4Address): a list of #NMIP4Address objects
* @value: a pointer to a #GValue into which to place the converted addresses, * @value: a pointer to a #GValue into which to place the converted addresses,
* which should be unset by the caller (when no longer needed) with * which should be unset by the caller (when no longer needed) with
* g_value_unset(). * g_value_unset().
@ -1456,7 +1456,7 @@ nm_utils_ip4_routes_from_gvalue (const GValue *value)
/** /**
* nm_utils_ip4_routes_to_gvalue: * nm_utils_ip4_routes_to_gvalue:
* @list: a list of #NMIP4Route objects * @list: (element-type NMIP4Route): a list of #NMIP4Route objects
* @value: a pointer to a #GValue into which to place the converted routes, * @value: a pointer to a #GValue into which to place the converted routes,
* which should be unset by the caller (when no longer needed) with * which should be unset by the caller (when no longer needed) with
* g_value_unset(). * g_value_unset().
@ -1664,7 +1664,7 @@ nm_utils_ip6_addresses_from_gvalue (const GValue *value)
/** /**
* nm_utils_ip6_addresses_to_gvalue: * nm_utils_ip6_addresses_to_gvalue:
* @list: a list of #NMIP6Address objects * @list: (element-type NMIP6Address): a list of #NMIP6Address objects
* @value: a pointer to a #GValue into which to place the converted addresses, * @value: a pointer to a #GValue into which to place the converted addresses,
* which should be unset by the caller (when no longer needed) with * which should be unset by the caller (when no longer needed) with
* g_value_unset(). * g_value_unset().
@ -1786,7 +1786,7 @@ nm_utils_ip6_routes_from_gvalue (const GValue *value)
/** /**
* nm_utils_ip6_routes_to_gvalue: * nm_utils_ip6_routes_to_gvalue:
* @list: a list of #NMIP6Route objects * @list: (element-type NMIP6Route): a list of #NMIP6Route objects
* @value: a pointer to a #GValue into which to place the converted routes, * @value: a pointer to a #GValue into which to place the converted routes,
* which should be unset by the caller (when no longer needed) with * which should be unset by the caller (when no longer needed) with
* g_value_unset(). * g_value_unset().