mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-24 14:36:13 +01:00
Add missing annotations to GApplication and GApplicationCommandLine.
This commit is contained in:
parent
7ee902a3d0
commit
8c742aea72
@ -357,7 +357,7 @@ g_application_set_property (GObject *object,
|
||||
/**
|
||||
* g_application_set_action_group:
|
||||
* @application: a #GApplication
|
||||
* @action_group: a #GActionGroup, or %NULL
|
||||
* @action_group: (allow-none): a #GActionGroup, or %NULL
|
||||
*
|
||||
* Sets or unsets the group of actions associated with the application.
|
||||
*
|
||||
@ -545,7 +545,7 @@ g_application_class_init (GApplicationClass *class)
|
||||
/**
|
||||
* GApplication::open:
|
||||
* @application: the application
|
||||
* @files: an array of #GFile objects
|
||||
* @files: (array length=n_files) (element-type GFile): an array of #GFiles
|
||||
* @n_files: the length of @files
|
||||
* @hint: a hint provided by the calling instance
|
||||
*
|
||||
@ -1047,7 +1047,7 @@ g_application_activate (GApplication *application)
|
||||
/**
|
||||
* g_application_open:
|
||||
* @application: a #GApplication
|
||||
* @files: an array of #GFiles to open
|
||||
* @files: (array length=n_files): an array of #GFiles to open
|
||||
* @n_files: the length of the @files array
|
||||
* @hint: a hint (or ""), but never %NULL
|
||||
*
|
||||
@ -1094,7 +1094,7 @@ g_application_open (GApplication *application,
|
||||
* g_application_run:
|
||||
* @application: a #GApplication
|
||||
* @argc: the argc from main()
|
||||
* @argv: the argv from main()
|
||||
* @argv: (array length=argc): the argv from main()
|
||||
* @returns: the exit status
|
||||
*
|
||||
* Runs the application.
|
||||
|
@ -249,7 +249,7 @@ g_application_command_line_class_init (GApplicationCommandLineClass *class)
|
||||
/**
|
||||
* g_application_command_line_get_arguments:
|
||||
* @cmdline: a #GApplicationCommandLine
|
||||
* @argc: the length of the arguments array, or %NULL
|
||||
* @argc: (out): the length of the arguments array, or %NULL
|
||||
*
|
||||
* Gets the list of arguments that was passed on the command line.
|
||||
*
|
||||
@ -258,7 +258,8 @@ g_application_command_line_class_init (GApplicationCommandLineClass *class)
|
||||
* The return value is %NULL-terminated and should be freed using
|
||||
* g_strfreev().
|
||||
*
|
||||
* Returns: the string array containing the arguments (the argv)
|
||||
* Returns: (array length=argc) (transfer full): the string array
|
||||
* containing the arguments (the argv)
|
||||
*
|
||||
* Since: 2.28
|
||||
**/
|
||||
@ -321,7 +322,8 @@ g_application_command_line_get_cwd (GApplicationCommandLine *cmdline)
|
||||
* The return value should not be modified or freed and is valid for as
|
||||
* long as @cmdline exists.
|
||||
*
|
||||
* Returns: the environment strings, or %NULL if they were not sent
|
||||
* Returns: (array zero-terminated=1) (transfer none): the environment
|
||||
* strings, or %NULL if they were not sent
|
||||
*
|
||||
* Since: 2.28
|
||||
**/
|
||||
|
Loading…
Reference in New Issue
Block a user