Small doc correction

We don't actually pass @argc to local_command_line().
This commit is contained in:
Matthias Clasen 2011-03-04 00:27:23 -05:00
parent 3c7203cf1a
commit 6dd692d858

View File

@ -1169,11 +1169,12 @@ g_application_open (GApplication *application,
* *
* First, the local_command_line() virtual function is invoked. * First, the local_command_line() virtual function is invoked.
* This function always runs on the local instance. It gets passed * This function always runs on the local instance. It gets passed
* pointers to @argc and @argv and is expected to remove the arguments * a pointer to a copy of @argv and is expected to remove the arguments
* that it handled from @argv (shifting up remaining arguments, and * that it handled (shifting up remaining arguments). See
* reducing @argc accordingly). See <xref linkend="gapplication-example-cmdline2"/> for an example. The last argument to local_command_line() is a * <xref linkend="gapplication-example-cmdline2"/> for an example.
* pointer to the @status variable which can used to set the exit * The last argument to local_command_line() is a pointer to the @status
* status that is returned from g_application_run(). * variable which can used to set the exit status that is returned from
* g_application_run().
* *
* If local_command_line() returns %TRUE, the command line is expected * If local_command_line() returns %TRUE, the command line is expected
* to be completely handled, including possibly registering as the primary * to be completely handled, including possibly registering as the primary