libnm-util: fix some introspection annotations

This commit is contained in:
Dan Williams
2011-12-22 10:51:27 -06:00
parent 1ed0476ba6
commit a080a1ed08
2 changed files with 4 additions and 3 deletions

View File

@@ -999,7 +999,8 @@ nm_setting_to_string (NMSetting *setting)
* Returns the name of the virtual kernel interface which the connection * Returns the name of the virtual kernel interface which the connection
* needs to use if specified in the settings. * needs to use if specified in the settings.
* *
* Returns: (transfer full) (element-type utf8): Name of the virtual interface * Returns: Name of the virtual interface or %NULL if the setting does not
* support this feature
**/ **/
const char * const char *
nm_setting_get_virtual_iface_name (NMSetting *setting) nm_setting_get_virtual_iface_name (NMSetting *setting)

View File

@@ -2488,8 +2488,8 @@ nm_utils_hwaddr_aton (const char *asc, int type, gpointer buffer)
* Parses @asc and converts it to binary form in a #GByteArray. See * Parses @asc and converts it to binary form in a #GByteArray. See
* nm_utils_hwaddr_aton() if you don't want a #GByteArray. * nm_utils_hwaddr_aton() if you don't want a #GByteArray.
* *
* Return value: a new #GByteArray, or %NULL if @asc couldn't be * Return value: (transfer full): a new #GByteArray, or %NULL if @asc couldn't
* parsed * be parsed
*/ */
GByteArray * GByteArray *
nm_utils_hwaddr_atoba (const char *asc, int type) nm_utils_hwaddr_atoba (const char *asc, int type)