aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-link.c
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <descalante@igalia.com>2010-12-08 20:07:23 +0800
committerDiego Escalante Urrelo <descalante@igalia.com>2010-12-09 06:43:11 +0800
commit0256c457bc5558d97c98c17ee673923def23a85e (patch)
tree17152f86a9fb3e0c9c073f4b288c388f6183424e /src/ephy-link.c
parenteb8fa514e6e3edb93be01d44ecc80608501979df (diff)
downloadgsoc2013-epiphany-0256c457bc5558d97c98c17ee673923def23a85e.tar.gz
gsoc2013-epiphany-0256c457bc5558d97c98c17ee673923def23a85e.tar.zst
gsoc2013-epiphany-0256c457bc5558d97c98c17ee673923def23a85e.zip
introspection: fix wrong and missing annotations
Bug #636790
Diffstat (limited to 'src/ephy-link.c')
-rw-r--r--src/ephy-link.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/ephy-link.c b/src/ephy-link.c
index 49faa52ae..988132826 100644
--- a/src/ephy-link.c
+++ b/src/ephy-link.c
@@ -43,6 +43,18 @@ ephy_link_base_init (gpointer g_class)
if (!initialised)
{
+ /**
+ * EphyLink::open-link:
+ * @address: the address of @link
+ * @embed: #EphyEmbed associated with @link
+ * @flags: flags for @link
+ *
+ * The ::open-link signal is emitted when @link is requested to
+ * open it's associated @address.
+ *
+ * Returns: (transfer none): the #EphyEmbed where @address has
+ * been handled.
+ **/
signals[OPEN_LINK] = g_signal_new
("open-link",
EPHY_TYPE_LINK,
@@ -82,6 +94,17 @@ ephy_link_get_type (void)
return type;
}
+/**
+ * ephy_link_open:
+ * @link: an #EphyLink object
+ * @address: the address of @link
+ * @embed: #EphyEmbed associated with @link
+ * @flags: flags for @link
+ *
+ * Triggers @link open action.
+ *
+ * Returns: (transfer none): the #EphyEmbed where @link opened.
+ */
EphyEmbed *
ephy_link_open (EphyLink *link,
const char *address,