Bug 666700 — Add some missing (allow-none) annotations

Add some missing (allow-none) annotations to GContentType, GIcon and
GHashTable methods.

Closes: bgo#666700
This commit is contained in:
Philip Withnall
2011-12-22 00:16:06 +00:00
parent f8843a0feb
commit e98f17e5cf
3 changed files with 7 additions and 7 deletions

View File

@@ -1649,7 +1649,7 @@ match_match (TreeMatch *match,
* g_mount_guess_content_type().
*
* Returns: (transfer full) (array zero-terminated=1): an %NULL-terminated
* array of zero or more content types, or %NULL. Free with g_strfreev()
* array of zero or more content types. Free with g_strfreev()
*
* Since: 2.18
*/

View File

@@ -94,8 +94,8 @@ g_icon_hash (gconstpointer icon)
/**
* g_icon_equal:
* @icon1: pointer to the first #GIcon.
* @icon2: pointer to the second #GIcon.
* @icon1: (allow-none): pointer to the first #GIcon.
* @icon2: (allow-none): pointer to the second #GIcon.
*
* Checks if two icons are equal.
*