summaryrefslogtreecommitdiff
path: root/gir/gio-2.0.c
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2012-06-05 11:19:33 -0400
committerColin Walters <walters@verbum.org>2012-06-05 11:19:33 -0400
commit2480e18596cd2cd9bf6268f253752a831414ac52 (patch)
tree1c92edb0ed254fc39fcecd99def61adde948f24f /gir/gio-2.0.c
parent5b8f63cb767424008a0549a28177574eb7538be9 (diff)
downloadgobject-introspection-2480e18596cd2cd9bf6268f253752a831414ac52.tar.gz
Update annotations to glib 2.33.2
Diffstat (limited to 'gir/gio-2.0.c')
-rw-r--r--gir/gio-2.0.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/gir/gio-2.0.c b/gir/gio-2.0.c
index f4883dfc..81987d80 100644
--- a/gir/gio-2.0.c
+++ b/gir/gio-2.0.c
@@ -241,6 +241,8 @@
* @add_platform_data: invoked (locally) to add 'platform data' to be sent to the primary instance when activating, opening or invoking actions
* @quit_mainloop: Used to be invoked on the primary instance when the use count of the application drops to zero (and after any inactivity timeout, if requested). Not used anymore since 2.32
* @run_mainloop: Used to be invoked on the primary instance from g_application_run() if the use-count is non-zero. Since 2.32, GApplication is iterating the main context directly and is not using @run_mainloop anymore
+ * @dbus_register: invoked locally during registration, if the application is using its D-Bus backend. You can use this to export extra objects on the bus, that need to exist before the application tries to own the bus name. The function is passed the #GDBusConnection to to session bus, and the object path that #GApplication will use to export is D-Bus API. If this function returns %TRUE, registration will proceed; otherwise registration will abort. Since: 2.34
+ * @dbus_unregister: invoked locally during unregistration, if the application is using its D-Bus backend. Use this to undo anything done by the @dbus_register vfunc. Since: 2.34
*
* Virtual function table for #GApplication.
*
@@ -3518,6 +3520,14 @@
* </xi:include>
* </programlisting>
* </example>
+ *
+ * <example id="gapplication-example-dbushooks"><title>Using extra D-Bus hooks with a GApplication</title>
+ * <programlisting>
+ * <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" parse="text" href="../../../../gio/tests/gapplication-example-dbushooks.c">
+ * <xi:fallback>FIXME: MISSING XINCLUDE CONTENT</xi:fallback>
+ * </xi:include>
+ * </programlisting>
+ * </example>
*/