diff options
author | Diego Escalante Urrelo <descalante@igalia.com> | 2010-12-08 20:07:23 +0800 |
---|---|---|
committer | Diego Escalante Urrelo <descalante@igalia.com> | 2010-12-09 06:43:11 +0800 |
commit | 0256c457bc5558d97c98c17ee673923def23a85e (patch) | |
tree | 17152f86a9fb3e0c9c073f4b288c388f6183424e /lib/ephy-node.c | |
parent | eb8fa514e6e3edb93be01d44ecc80608501979df (diff) | |
download | gsoc2013-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 'lib/ephy-node.c')
-rw-r--r-- | lib/ephy-node.c | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/lib/ephy-node.c b/lib/ephy-node.c index 4194705bd..9413074a0 100644 --- a/lib/ephy-node.c +++ b/lib/ephy-node.c @@ -1143,6 +1143,14 @@ ephy_node_real_get_child_index (EphyNode *node, return ret; } +/** + * ephy_node_sort_children: + * @node: an #EphyNode + * @compare_func: (scope call): function to compare children + * + * Sorts the children of @node using @compare_func. + * + **/ void ephy_node_sort_children (EphyNode *node, GCompareFunc compare_func) @@ -1353,6 +1361,17 @@ ephy_node_get_previous_child (EphyNode *node, return ret; } +/** + * ephy_node_signal_connect_object: + * @node: an #EphyNode + * @type: signal type + * @callback: (scope notified): the callback to connect + * @object: data to pass to @callback + * + * Connects a callback function to the @type signal of @node. + * + * Returns: an identifier for the connected signal + **/ int ephy_node_signal_connect_object (EphyNode *node, EphyNodeSignalType type, @@ -1414,6 +1433,18 @@ invalidate_matching_signal_data (gpointer key, } } +/** + * ephy_node_signal_disconnect_object: + * @node: an #EphyNode + * @type: signal type + * @callback: (scope notified): the callback to disconnect + * @object: data passed to @callback when it was connected + * + * Disconnects @callback from @type in @node. @callback is identified by the + * @object previously passed in ephy_node_signal_connect_object. + * + * Returns: the number of signal handlers removed + **/ guint ephy_node_signal_disconnect_object (EphyNode *node, EphyNodeSignalType type, |