diff options
author | Xan Lopez <xan@src.gnome.org> | 2003-04-26 00:06:19 +0800 |
---|---|---|
committer | Xan Lopez <xan@src.gnome.org> | 2003-04-26 00:06:19 +0800 |
commit | 98f768009939e3b06f2777ccb4307245f0637f36 (patch) | |
tree | fdfac352ab0901919cb99d5caf4d72d40622ed3f /lib/ephy-node.h | |
parent | 942e954a637fe6a462f3337c2aef8fa683877976 (diff) | |
download | gsoc2013-epiphany-98f768009939e3b06f2777ccb4307245f0637f36.tar gsoc2013-epiphany-98f768009939e3b06f2777ccb4307245f0637f36.tar.gz gsoc2013-epiphany-98f768009939e3b06f2777ccb4307245f0637f36.tar.bz2 gsoc2013-epiphany-98f768009939e3b06f2777ccb4307245f0637f36.tar.lz gsoc2013-epiphany-98f768009939e3b06f2777ccb4307245f0637f36.tar.xz gsoc2013-epiphany-98f768009939e3b06f2777ccb4307245f0637f36.tar.zst gsoc2013-epiphany-98f768009939e3b06f2777ccb4307245f0637f36.zip |
Implement ephy_node_reorder_children (from Rhythmbox).
Implement ephy_node_reorder_children (from Rhythmbox).
Diffstat (limited to 'lib/ephy-node.h')
-rw-r--r-- | lib/ephy-node.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/ephy-node.h b/lib/ephy-node.h index f257ebb1e..8c142d528 100644 --- a/lib/ephy-node.h +++ b/lib/ephy-node.h @@ -53,8 +53,7 @@ typedef struct void (*child_added) (EphyNode *node, EphyNode *child); void (*child_changed) (EphyNode *node, EphyNode *child); - void (*child_reordered) (EphyNode *node, EphyNode *child, - int old_index, int new_index); + void (*children_reordered) (EphyNode *node, int *new_order); void (*child_removed) (EphyNode *node, EphyNode *child); } EphyNodeClass; @@ -122,6 +121,9 @@ void ephy_node_remove_child (EphyNode *node, gboolean ephy_node_has_child (EphyNode *node, EphyNode *child); +void ephy_node_reorder_children (EphyNode *node, + int *new_order); + /* Note that ephy_node_get_children freezes the node; you'll have to thaw it when done. * This is to prevent the data getting changed from another thread. */ GPtrArray *ephy_node_get_children (EphyNode *node); |