[glib] Improve GApplication docs
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Improve GApplication docs
- Date: Wed, 13 Apr 2016 16:24:25 +0000 (UTC)
commit 24b078126451cb90c2aaeb4d3e1759006218cde9
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Apr 13 12:01:49 2016 -0400
Improve GApplication docs
D-Bus activation is a thing now; bring the local_command_line
docs in sync with reality.
gio/gapplication.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gio/gapplication.c b/gio/gapplication.c
index 0f59be8..f0af77b 100644
--- a/gio/gapplication.c
+++ b/gio/gapplication.c
@@ -180,11 +180,11 @@
* @open: invoked on the primary instance when there are files to open
* @command_line: invoked on the primary instance when a command-line is
* not handled locally
- * @local_command_line: invoked (locally) when the process has been invoked
- * via commandline execution (as opposed to, say, D-Bus activation - which
- * is not currently supported by GApplication). The virtual function has
- * the chance to inspect (and possibly replace) the list of command line
- * arguments. See g_application_run() for more information.
+ * @local_command_line: invoked (locally). The virtual function has the chance
+ * to inspect (and possibly replace) command line arguments. See
+ * g_application_run() for more information. Also see the
+ * #GApplication::handle-local-options signal, which is a simpler
+ * alternative to handling some commandline options locally
* @before_emit: invoked on the primary instance before 'activate', 'open',
* 'command-line' or any action invocation, gets the 'platform data' from
* the calling instance
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]