From cb2d52c87c38296d854a8c79eced7d7bc8e2a557 Mon Sep 17 00:00:00 2001 From: Iain Nicol Date: Wed, 18 Nov 2009 17:21:15 +0000 Subject: Add GObject introspection annotations to more functions Partial fix for bug #599757. Signed-off-by: Xan Lopez --- 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 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, -- cgit v1.2.3