[epiphany] Add GObject introspection annotations to more functions



commit cb2d52c87c38296d854a8c79eced7d7bc8e2a557
Author: Iain Nicol <iain thenicols net>
Date:   Wed Nov 18 17:21:15 2009 +0000

    Add GObject introspection annotations to more functions
    
    Partial fix for bug #599757.
    
    Signed-off-by: Xan Lopez <xan gnome org>

 embed/ephy-embed-event.c |    5 +++++
 lib/ephy-dialog.c        |   10 ++++++++++
 lib/ephy-node.c          |    5 +++++
 src/ephy-shell.c         |    4 ++--
 4 files changed, 22 insertions(+), 2 deletions(-)
---
diff --git a/embed/ephy-embed-event.c b/embed/ephy-embed-event.c
index c217e69..bd3ca81 100644
--- a/embed/ephy-embed-event.c
+++ b/embed/ephy-embed-event.c
@@ -141,6 +141,11 @@ ephy_embed_event_get_coords (EphyEmbedEvent *event,
     *y = priv->y;
 }
 
+/**
+ * ephy_embed_event_get_property:
+ *
+ * @value: (out):
+ */
 void 
 ephy_embed_event_get_property   (EphyEmbedEvent *event,
                                  const char *name,
diff --git a/lib/ephy-dialog.c b/lib/ephy-dialog.c
index f2a5773..7eddc3a 100644
--- a/lib/ephy-dialog.c
+++ b/lib/ephy-dialog.c
@@ -1280,6 +1280,11 @@ ephy_dialog_get_control (EphyDialog *dialog,
 	return info->widget;
 }
 
+/**
+ * ephy_dialog_get_controls:
+ *
+ * Rename to: ephy_dialog_get_controls
+ **/
 void
 ephy_dialog_get_controls (EphyDialog *dialog,
 			  const char *property_id,
@@ -1305,6 +1310,11 @@ ephy_dialog_get_controls (EphyDialog *dialog,
 	va_end (varargs);
 }
 
+/**
+ * ephy_dialog_get_value:
+ *
+ * @value: (out):
+ */
 gboolean
 ephy_dialog_get_value (EphyDialog *dialog,
 		       const char *property_id,
diff --git a/lib/ephy-node.c b/lib/ephy-node.c
index 2fec271..4194705 100644
--- a/lib/ephy-node.c
+++ b/lib/ephy-node.c
@@ -492,6 +492,11 @@ ephy_node_set_property (EphyNode *node,
 	ephy_node_set_property_internal (node, property_id, new);
 }
 
+/**
+ * ephy_node_get_property:
+ *
+ * @value: (out):
+ */
 gboolean
 ephy_node_get_property (EphyNode *node,
 		        guint property_id,
diff --git a/src/ephy-shell.c b/src/ephy-shell.c
index 3a42fd2..7c20b15 100644
--- a/src/ephy-shell.c
+++ b/src/ephy-shell.c
@@ -417,7 +417,7 @@ load_homepage (EphyEmbed *embed)
  * Create a new tab and the parent window when necessary.
  * Use this function to open urls in new window/tabs.
  *
- * Return value: the created #EphyEmbed
+ * Return value: (transfer none): the created #EphyEmbed
  **/
 EphyEmbed *
 ephy_shell_new_tab_full (EphyShell *shell,
@@ -561,7 +561,7 @@ ephy_shell_new_tab_full (EphyShell *shell,
  * Create a new tab and the parent window when necessary.
  * Use this function to open urls in new window/tabs.
  *
- * Return value: the created #EphyEmbed
+ * Return value: (transfer none): the created #EphyEmbed
  **/
 EphyEmbed *
 ephy_shell_new_tab (EphyShell *shell,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]