[gtk+] treeview: Deprecate gtk_tree_view_set_destroy_count_func()
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] treeview: Deprecate gtk_tree_view_set_destroy_count_func()
- Date: Fri, 16 Dec 2011 03:57:33 +0000 (UTC)
commit 6fa72300be2496476d3f08be2b4f718d6231c8d1
Author: Benjamin Otte <otte redhat com>
Date: Mon Dec 12 11:55:28 2011 +0100
treeview: Deprecate gtk_tree_view_set_destroy_count_func()
The accessibility code doesn't need it anymore.
gtk/gtktreeview.c | 2 ++
gtk/gtktreeview.h | 1 +
2 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c
index 7d2711c..73ba8c6 100644
--- a/gtk/gtktreeview.c
+++ b/gtk/gtktreeview.c
@@ -14692,6 +14692,8 @@ gtk_tree_view_create_row_drag_icon (GtkTreeView *tree_view,
* This function should almost never be used. It is meant for private use by
* ATK for determining the number of visible children that are removed when the
* user collapses a row, or a row is deleted.
+ *
+ * Deprecated: 3.4: Accessibility does not need the function anymore.
**/
void
gtk_tree_view_set_destroy_count_func (GtkTreeView *tree_view,
diff --git a/gtk/gtktreeview.h b/gtk/gtktreeview.h
index 697a61a..879d21c 100644
--- a/gtk/gtktreeview.h
+++ b/gtk/gtktreeview.h
@@ -435,6 +435,7 @@ typedef void (* GtkTreeDestroyCountFunc) (GtkTreeView *tree_view,
GtkTreePath *path,
gint children,
gpointer user_data);
+GDK_DEPRECATED
void gtk_tree_view_set_destroy_count_func (GtkTreeView *tree_view,
GtkTreeDestroyCountFunc func,
gpointer data,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]