diff options
author | Christopher James Lahey <clahey@ximian.com> | 2001-03-27 03:51:05 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2001-03-27 03:51:05 +0800 |
commit | 7443055a53dcdbea2f9ac2867faa9bb0ca25e3aa (patch) | |
tree | 7f3d3b27b6974759d88792bbdb7e0696f5311627 /widgets/table/e-tree-model.c | |
parent | b86d822ec15050722006dacc84f535cb9dcf18b2 (diff) | |
download | gsoc2013-evolution-7443055a53dcdbea2f9ac2867faa9bb0ca25e3aa.tar.gz gsoc2013-evolution-7443055a53dcdbea2f9ac2867faa9bb0ca25e3aa.tar.zst gsoc2013-evolution-7443055a53dcdbea2f9ac2867faa9bb0ca25e3aa.zip |
Updated these to match the new e_tree_model_node_removed signal.
2001-03-26 Christopher James Lahey <clahey@ximian.com>
* e-tree-memory.c, e-tree-table-adapter.c: Updated these to match
the new e_tree_model_node_removed signal.
* e-tree-model.c, e-tree-model.h: Added an old_position parameter
to the node_removed signal so that it would be completely
deterministic.
* e-tree-sorted.c: Changed this so that paths keep track of their
original position. This makes sorting much faster.
svn path=/trunk/; revision=8953
Diffstat (limited to 'widgets/table/e-tree-model.c')
-rw-r--r-- | widgets/table/e-tree-model.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/widgets/table/e-tree-model.c b/widgets/table/e-tree-model.c index 389e37223a..60b01310ab 100644 --- a/widgets/table/e-tree-model.c +++ b/widgets/table/e-tree-model.c @@ -97,8 +97,8 @@ e_tree_model_class_init (GtkObjectClass *klass) GTK_RUN_LAST, klass->type, GTK_SIGNAL_OFFSET (ETreeModelClass, node_removed), - gtk_marshal_NONE__POINTER_POINTER, - GTK_TYPE_NONE, 2, GTK_TYPE_POINTER, GTK_TYPE_POINTER); + e_marshal_NONE__POINTER_POINTER_INT, + GTK_TYPE_NONE, 3, GTK_TYPE_POINTER, GTK_TYPE_POINTER, GTK_TYPE_INT); gtk_object_class_add_signals (klass, e_tree_model_signals, LAST_SIGNAL); @@ -257,14 +257,14 @@ e_tree_model_node_inserted (ETreeModel *tree_model, * **/ void -e_tree_model_node_removed (ETreeModel *tree_model, ETreePath parent_node, ETreePath removed_node) +e_tree_model_node_removed (ETreeModel *tree_model, ETreePath parent_node, ETreePath removed_node, int old_position) { g_return_if_fail (tree_model != NULL); g_return_if_fail (E_IS_TREE_MODEL (tree_model)); gtk_signal_emit (GTK_OBJECT (tree_model), e_tree_model_signals [NODE_REMOVED], - parent_node, removed_node); + parent_node, removed_node, old_position); } |