[gedit] Fix docs
- From: Garrett Regier <gregier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] Fix docs
- Date: Fri, 12 Jul 2013 01:26:30 +0000 (UTC)
commit 67190fc8a1ba00c152c051e29b53f67b7116057a
Author: Garrett Regier <garrett yorba org>
Date: Tue Jul 2 13:20:38 2013 -0700
Fix docs
gedit/gedit-document.c | 2 ++
gedit/gedit-message-bus.c | 12 ++++++------
2 files changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/gedit/gedit-document.c b/gedit/gedit-document.c
index 6855a89..56d9de2 100644
--- a/gedit/gedit-document.c
+++ b/gedit/gedit-document.c
@@ -663,6 +663,8 @@ gedit_document_class_init (GeditDocumentClass *klass)
* @document: the #GeditDocument.
* @location: the location where the document is about to be saved.
* @encoding: the #GeditEncoding used to save the document.
+ * @newline_type: the #GeditDocumentNewlineType used to save the document.
+ * @compression_type: the #GeditDocumentCompressionType used to save the document.
* @flags: the #GeditDocumentSaveFlags for the save operation.
*
* The "save" signal is emitted when the document is saved.
diff --git a/gedit/gedit-message-bus.c b/gedit/gedit-message-bus.c
index f43bae8..e19104a 100644
--- a/gedit/gedit-message-bus.c
+++ b/gedit/gedit-message-bus.c
@@ -69,10 +69,8 @@
*
* // Register 'method' at '/plugins/example' with one required
* // string argument 'arg1'
- * GeditMessageType *message_type = gedit_message_bus_register ("/plugins/example", "method",
- * 0,
- * "arg1", G_TYPE_STRING,
- * NULL);
+ * gedit_message_bus_register (bus, EXAMPLE_TYPE_METHOD_MESSAGE,
+ * "/plugins/example", "method");
* </programlisting>
* </example>
* <example>
@@ -298,7 +296,8 @@ gedit_message_bus_class_init (GeditMessageBusClass *klass)
/**
* GeditMessageBus::registered:
* @bus: a #GeditMessageBus
- * @message_type: the registered #GeditMessageType
+ * @object_path: the registered object path.
+ * @method: the registered method
*
* The "registered" signal is emitted when a message has been registered
* on the bus.
@@ -320,7 +319,8 @@ gedit_message_bus_class_init (GeditMessageBusClass *klass)
/**
* GeditMessageBus::unregistered:
* @bus: a #GeditMessageBus
- * @message_type: the unregistered #GeditMessageType
+ * @object_path: the unregistered object path.
+ * @method: the unregistered method
*
* The "unregistered" signal is emitted when a message has been
* unregistered from the bus.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]