summaryrefslogtreecommitdiff
path: root/gio/gapplication.c
diff options
context:
space:
mode:
Diffstat (limited to 'gio/gapplication.c')
-rw-r--r--gio/gapplication.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/gio/gapplication.c b/gio/gapplication.c
index 3708e812c..31508ebbe 100644
--- a/gio/gapplication.c
+++ b/gio/gapplication.c
@@ -88,8 +88,8 @@
* instance and g_application_run() promptly returns. See the code
* examples below.
*
- * If used, the expected form of an application identifier is the same as
- * that of of a
+ * If used, the expected form of an application identifier is the
+ * same as that of a
* [D-Bus well-known bus name](https://dbus.freedesktop.org/doc/dbus-specification.html#message-protocol-names-bus).
* Examples include: `com.example.MyApp`, `org.example.internal_apps.Calculator`,
* `org._7_zip.Archiver`.
@@ -117,6 +117,10 @@
* conveniently access them remotely. GIO provides a #GDBusMenuModel wrapper
* for remote access to exported #GMenuModels.
*
+ * Note: Due to the fact that actions are exported on the session bus,
+ * using `maybe` parameters is not supported, since D-Bus does not support
+ * `maybe` types.
+ *
* There is a number of different entry points into a GApplication:
*
* - via 'Activate' (i.e. just starting the application)
@@ -499,7 +503,7 @@ g_application_parse_command_line (GApplication *application,
g_option_context_set_description (context, application->priv->description);
gapplication_group = g_option_group_new ("gapplication",
- _("GApplication options"), _("Show GApplication options"),
+ _("GApplication Options:"), _("Show GApplication options"),
NULL, NULL);
g_option_group_set_translation_domain (gapplication_group, GETTEXT_PACKAGE);
g_option_context_add_group (context, gapplication_group);
@@ -2230,7 +2234,7 @@ g_application_register (GApplication *application,
* Increases the use count of @application.
*
* Use this function to indicate that the application has a reason to
- * continue to run. For example, g_application_hold() is called by GTK+
+ * continue to run. For example, g_application_hold() is called by GTK
* when a toplevel window is on the screen.
*
* To cancel the hold, call g_application_release().