diff options
author | Benjamin Otte <otte@redhat.com> | 2019-01-12 15:09:37 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2019-01-14 02:14:11 +0100 |
commit | 7ff949ea30edc8abd8cfd8ca30aa26632033f106 (patch) | |
tree | 97162dc7434d12bcfff779b1f5003e7ade843f2f /gtk/gtkrbtreeprivate.h | |
parent | 25bca27bfe04cddc9b76f9396b44225fe5603f76 (diff) | |
download | gtk+-7ff949ea30edc8abd8cfd8ca30aa26632033f106.tar.gz |
rbtree: Remove gtk_rb_tree_find()
Searching through the tree is too specific to use a general function.
All the existing code just copies and slightly adapts the same 20 lines
instead, so there's no reason to keep the complicated API.
Diffstat (limited to 'gtk/gtkrbtreeprivate.h')
-rw-r--r-- | gtk/gtkrbtreeprivate.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/gtk/gtkrbtreeprivate.h b/gtk/gtkrbtreeprivate.h index b73c80708d..46b6b0db86 100644 --- a/gtk/gtkrbtreeprivate.h +++ b/gtk/gtkrbtreeprivate.h @@ -33,9 +33,6 @@ typedef void (* GtkRbTreeAugmentFunc) (GtkRbTree gpointer node, gpointer left, gpointer right); -typedef int (* GtkRbTreeFindFunc) (GtkRbTree *tree, - gpointer node, - gpointer user_data); GtkRbTree * gtk_rb_tree_new_for_size (gsize element_size, gsize augment_size, @@ -76,12 +73,6 @@ void gtk_rb_tree_remove (GtkRbTree gpointer node); void gtk_rb_tree_remove_all (GtkRbTree *tree); -gpointer gtk_rb_tree_find (GtkRbTree *tree, - gpointer *out_before, - gpointer *out_after, - GtkRbTreeFindFunc find_func, - gpointer user_data); - G_END_DECLS |