mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 06:56:14 +01:00
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:
parent
6e64ba58b9
commit
9bca5bb49f
@ -515,7 +515,7 @@ g_app_info_get_icon (GAppInfo *appinfo)
|
|||||||
/**
|
/**
|
||||||
* g_app_info_launch:
|
* g_app_info_launch:
|
||||||
* @appinfo: a #GAppInfo
|
* @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
|
* @launch_context: (allow-none): a #GAppLaunchContext or %NULL
|
||||||
* @error: a #GError
|
* @error: a #GError
|
||||||
*
|
*
|
||||||
@ -611,7 +611,7 @@ g_app_info_supports_files (GAppInfo *appinfo)
|
|||||||
/**
|
/**
|
||||||
* g_app_info_launch_uris:
|
* g_app_info_launch_uris:
|
||||||
* @appinfo: a #GAppInfo
|
* @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
|
* @launch_context: (allow-none): a #GAppLaunchContext or %NULL
|
||||||
* @error: a #GError
|
* @error: a #GError
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user