appinfo: fix annotations for g_app_info_launch and g_app_info_launch_uris

The files/uris parameters for these functions can be NULL, so we need an
allow-none annotation here.
This commit is contained in:
Cosimo Cecchi 2012-08-29 14:46:11 -04:00
parent 6e64ba58b9
commit 9bca5bb49f

View File

@ -515,7 +515,7 @@ g_app_info_get_icon (GAppInfo *appinfo)
/**
* g_app_info_launch:
* @appinfo: a #GAppInfo
* @files: (element-type GFile): a #GList of #GFile objects
* @files: (allow-none) (element-type GFile): a #GList of #GFile objects
* @launch_context: (allow-none): a #GAppLaunchContext or %NULL
* @error: a #GError
*
@ -611,7 +611,7 @@ g_app_info_supports_files (GAppInfo *appinfo)
/**
* g_app_info_launch_uris:
* @appinfo: a #GAppInfo
* @uris: (element-type utf8): a #GList containing URIs to launch.
* @uris: (allow-none) (element-type utf8): a #GList containing URIs to launch.
* @launch_context: (allow-none): a #GAppLaunchContext or %NULL
* @error: a #GError
*