aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIain Nicol <iain@thenicols.net>2009-11-19 01:21:15 +0800
committerXan Lopez <xan@gnome.org>2009-11-23 18:34:27 +0800
commitcb2d52c87c38296d854a8c79eced7d7bc8e2a557 (patch)
tree8603d2431048a878188e9dffc418007f81dd4efb
parent80b1f00b99bec7a0d11312d9f429ca199f8e7132 (diff)
downloadgsoc2013-epiphany-cb2d52c87c38296d854a8c79eced7d7bc8e2a557.tar.gz
gsoc2013-epiphany-cb2d52c87c38296d854a8c79eced7d7bc8e2a557.tar.zst
gsoc2013-epiphany-cb2d52c87c38296d854a8c79eced7d7bc8e2a557.zip
Add GObject introspection annotations to more functions
Partial fix for bug #599757. Signed-off-by: Xan Lopez <xan@gnome.org>
-rw-r--r--embed/ephy-embed-event.c5
-rw-r--r--lib/ephy-dialog.c10
-rw-r--r--lib/ephy-node.c5
-rw-r--r--src/ephy-shell.c4
4 files changed, 22 insertions, 2 deletions
diff --git a/embed/ephy-embed-event.c b/embed/ephy-embed-event.c
index c217e6951..bd3ca818d 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 f2a577358..7eddc3a87 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 2fec271d2..4194705bd 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 3a42fd239..7c20b155c 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,