mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-02 17:26:17 +01:00
docs: Fix GApplicationCommandLine typo
This commit is contained in:
parent
69ecc4b496
commit
c490a75a18
@ -114,7 +114,7 @@
|
|||||||
* in the form of a #GVariant dictionary mapping strings to variants.
|
* in the form of a #GVariant dictionary mapping strings to variants.
|
||||||
* To use platform data, override the @before_emit or @after_emit virtual
|
* To use platform data, override the @before_emit or @after_emit virtual
|
||||||
* functions in your #GApplication subclass. When dealing with
|
* functions in your #GApplication subclass. When dealing with
|
||||||
* #GApplicationCommandline objects, the platform data is directly
|
* #GApplicationCommandLine objects, the platform data is directly
|
||||||
* available via g_application_command_line_get_cwd(),
|
* available via g_application_command_line_get_cwd(),
|
||||||
* g_application_command_line_get_environ() and
|
* g_application_command_line_get_environ() and
|
||||||
* g_application_command_line_get_platform_data().
|
* g_application_command_line_get_platform_data().
|
||||||
@ -783,7 +783,7 @@ g_application_class_init (GApplicationClass *class)
|
|||||||
*
|
*
|
||||||
* The ::command-line signal is emitted on the primary instance when
|
* The ::command-line signal is emitted on the primary instance when
|
||||||
* a commandline is not handled locally. See g_application_run() and
|
* a commandline is not handled locally. See g_application_run() and
|
||||||
* the #GApplicationCommandline documentation for more information.
|
* the #GApplicationCommandLine documentation for more information.
|
||||||
*
|
*
|
||||||
* Returns: An integer that is set as the exit status for the calling
|
* Returns: An integer that is set as the exit status for the calling
|
||||||
* process. See g_application_command_line_set_exit_status().
|
* process. See g_application_command_line_set_exit_status().
|
||||||
@ -1370,7 +1370,7 @@ g_application_open (GApplication *application,
|
|||||||
* If local_command_line() returns %FALSE then the application is registered
|
* If local_command_line() returns %FALSE then the application is registered
|
||||||
* and the #GApplication::command-line signal is emitted in the primary
|
* and the #GApplication::command-line signal is emitted in the primary
|
||||||
* instance (which may or may not be this instance). The signal handler
|
* instance (which may or may not be this instance). The signal handler
|
||||||
* gets passed a #GApplicationCommandline object that (among other things)
|
* gets passed a #GApplicationCommandLine object that (among other things)
|
||||||
* contains the remaining commandline arguments that have not been handled
|
* contains the remaining commandline arguments that have not been handled
|
||||||
* by local_command_line().
|
* by local_command_line().
|
||||||
*
|
*
|
||||||
|
@ -57,7 +57,7 @@ G_DEFINE_TYPE (GApplicationCommandLine, g_application_command_line, G_TYPE_OBJEC
|
|||||||
* of this object (ie: the process exits when the last reference is
|
* of this object (ie: the process exits when the last reference is
|
||||||
* dropped).
|
* dropped).
|
||||||
*
|
*
|
||||||
* The main use for #GApplicationCommandline (and the
|
* The main use for #GApplicationCommandLine (and the
|
||||||
* #GApplication::command-line signal) is 'Emacs server' like use cases:
|
* #GApplication::command-line signal) is 'Emacs server' like use cases:
|
||||||
* You can set the <envar>EDITOR</envar> environment variable to have
|
* You can set the <envar>EDITOR</envar> environment variable to have
|
||||||
* e.g. git use your favourite editor to edit commit messages, and if you
|
* e.g. git use your favourite editor to edit commit messages, and if you
|
||||||
@ -99,7 +99,7 @@ G_DEFINE_TYPE (GApplicationCommandLine, g_application_command_line, G_TYPE_OBJEC
|
|||||||
* <para>
|
* <para>
|
||||||
* An example of deferred commandline handling. Here, the commandline is
|
* An example of deferred commandline handling. Here, the commandline is
|
||||||
* not completely handled before the #GApplication::command-line handler
|
* not completely handled before the #GApplication::command-line handler
|
||||||
* returns. Instead, we keep a reference to the GApplicationCommandline
|
* returns. Instead, we keep a reference to the GApplicationCommandLine
|
||||||
* object and handle it later(in this example, in an idle). Note that it
|
* object and handle it later(in this example, in an idle). Note that it
|
||||||
* is necessary to hold the application until you are done with the
|
* is necessary to hold the application until you are done with the
|
||||||
* commandline.
|
* commandline.
|
||||||
|
Loading…
Reference in New Issue
Block a user