summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj-signal-example.page4
-rw-r--r--tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-signal-example.page4
-rw-r--r--tests/doctool/doc-examples-obj.c10
3 files changed, 6 insertions, 12 deletions
diff --git a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj-signal-example.page b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj-signal-example.page
index 646d294d..548588c8 100644
--- a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj-signal-example.page
+++ b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj-signal-example.page
@@ -9,7 +9,5 @@
<title type="link" role="topic">signal-example</title>
</info>
<title>DocExamplesObj::signal-example</title>
-<p>Emitted when the connection status on the account changes.</p><p>The @dbus_error_name and @details parameters were present, but
-non-functional (always %NULL), in older versions. They have been
-available with their current behaviour since version 0.11.7.</p>
+<p>This is an example of how to document a signal.</p>
</page>
diff --git a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-signal-example.page b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-signal-example.page
index 76a89f36..9b096651 100644
--- a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-signal-example.page
+++ b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-signal-example.page
@@ -12,9 +12,7 @@
<synopsis><code mime="text/x-python">
def callback(obj, float_param, since, user_param1, ...)
</code></synopsis>
-<p>Emitted when the connection status on the account changes.</p><p>The @dbus_error_name and @details parameters were present, but
-non-functional (always None), in older versions. They have been
-available with their current behaviour since version 0.11.7.</p>
+<p>This is an example of how to document a signal.</p>
<table>
<tr>
diff --git a/tests/doctool/doc-examples-obj.c b/tests/doctool/doc-examples-obj.c
index ff866289..30f4d1d2 100644
--- a/tests/doctool/doc-examples-obj.c
+++ b/tests/doctool/doc-examples-obj.c
@@ -53,15 +53,11 @@ doc_examples_obj_class_init (DocExamplesObjClass *klass)
/**
* DocExamplesObj::signal-example:
- * @object:
+ * @obj:
* @int_param: a parameter of type int
* @float_param: a parameter of type float
*
- * Emitted when the connection status on the account changes.
- *
- * The @dbus_error_name and @details parameters were present, but
- * non-functional (always %NULL), in older versions. They have been
- * available with their current behaviour since version 0.11.7.
+ * This is an example of how to document a signal.
*
* Since: 0.99
*/
@@ -79,6 +75,8 @@ doc_examples_obj_class_init (DocExamplesObjClass *klass)
*
* Type: GLib.HashTable(utf8,gint8)
* Transfer: container
+ *
+ * Since: 0.99
*/
pspec = g_param_spec_boxed ("property-example",
"Example property",