aboutsummaryrefslogtreecommitdiffstats
path: root/src
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
parenteb8fa514e6e3edb93be01d44ecc80608501979df (diff)
downloadgsoc2013-epiphany-0256c457bc5558d97c98c17ee673923def23a85e.tar
gsoc2013-epiphany-0256c457bc5558d97c98c17ee673923def23a85e.tar.gz
gsoc2013-epiphany-0256c457bc5558d97c98c17ee673923def23a85e.tar.bz2
gsoc2013-epiphany-0256c457bc5558d97c98c17ee673923def23a85e.tar.lz
gsoc2013-epiphany-0256c457bc5558d97c98c17ee673923def23a85e.tar.xz
gsoc2013-epiphany-0256c457bc5558d97c98c17ee673923def23a85e.tar.zst
gsoc2013-epiphany-0256c457bc5558d97c98c17ee673923def23a85e.zip
introspection: fix wrong and missing annotations
Bug #636790
Diffstat (limited to 'src')
-rw-r--r--src/ephy-link.c23
-rw-r--r--src/ephy-toolbar.c4
2 files changed, 25 insertions, 2 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,
diff --git a/src/ephy-toolbar.c b/src/ephy-toolbar.c
index a6edc29c0..65b515872 100644
--- a/src/ephy-toolbar.c
+++ b/src/ephy-toolbar.c
@@ -353,12 +353,12 @@ ephy_toolbar_set_window (EphyToolbar *toolbar,
/* public functions */
/**
- * ephy_toolbar_get_action_group
+ * ephy_toolbar_get_action_group:
* @toolbar: an #EphyToolbar widget
*
* Gets the #GtkActionGroup for @toolbar.
*
- * Return value: (transfer none):
+ * Return value: (transfer none): the #GtkActionGroup associated with @toolbar
**/
GtkActionGroup *
ephy_toolbar_get_action_group (EphyToolbar *toolbar)