Add missing allow-none annotations for function parameters.

Found using:
find . -name '*.c' | xargs grep 'or %NULL' | grep ' \* @' | grep -v '@error' | grep -v allow-none
This commit is contained in:
Robert Ancell
2012-03-24 23:58:45 +11:00
parent 4cf5d25316
commit 4143842eb4
58 changed files with 232 additions and 232 deletions

View File

@@ -1135,7 +1135,7 @@ g_application_get_is_remote (GApplication *application)
/**
* g_application_register:
* @application: a #GApplication
* @cancellable: a #GCancellable, or %NULL
* @cancellable: (allow-none): a #GCancellable, or %NULL
* @error: a pointer to a NULL #GError, or %NULL
*
* Attempts registration of the application.
@@ -1682,7 +1682,7 @@ g_application_get_default (void)
/**
* g_application_set_default:
* @application: the application to set as default, or %NULL
* @application: (allow-none): the application to set as default, or %NULL
*
* Sets or unsets the default application for the process, as returned
* by g_application_get_default().