[glib] Fix up gdbus invocation in example
- From: David Zeuthen <davidz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Fix up gdbus invocation in example
- Date: Sat, 4 Jun 2011 16:43:18 +0000 (UTC)
commit 635f5373c238bdb4cba6781b705319f869404e94
Author: David Zeuthen <davidz redhat com>
Date: Sat Jun 4 12:43:00 2011 -0400
Fix up gdbus invocation in example
Signed-off-by: David Zeuthen <davidz redhat com>
docs/reference/gio/gdbus.xml | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/docs/reference/gio/gdbus.xml b/docs/reference/gio/gdbus.xml
index fdccee2..f625c60 100644
--- a/docs/reference/gio/gdbus.xml
+++ b/docs/reference/gio/gdbus.xml
@@ -265,14 +265,14 @@ The name org.freedesktop.NetworkManager is owned by :1.5
Emitting a signal:
</para>
<programlisting>
-$ gdbus emit --session --o /foo -s org.bar.Foo "['foo', 'bar', 'baz']"
+$ gdbus emit --session --object-path /foo --signal org.bar.Foo "['foo', 'bar', 'baz']"
</programlisting>
<para>
Emitting a signal to a specific process:
</para>
<programlisting>
-$ gdbus emit --session --o /foo -s org.bar.Foo someString --dest :1.3
+$ gdbus emit --session --object-path /bar --signal org.bar.Bar someString --dest :1.42
</programlisting>
</refsect1>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]