summaryrefslogtreecommitdiff
path: root/gtk/gtktreeview.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2012-02-27 07:10:59 -0500
committerMatthias Clasen <mclasen@redhat.com>2012-02-27 07:11:43 -0500
commit2c25bd85b8690eb0ca6b023122dc130d57c0ca8d (patch)
treea0a1e65a7230ddfd9a2345a1e8c5b8928a7b090f /gtk/gtktreeview.h
parent98f3468172004901df6e8bf507e4ec1b0fdac42d (diff)
downloadgtk+-2c25bd85b8690eb0ca6b023122dc130d57c0ca8d.tar.gz
gtk: Use versioned deprecations
This patch changes all uses of GDK_DEPRECATED(_FOR) in gtk headers by the versioned variants, GDK_DEPRECATED_IN_3_x(_FOR). At the same time, we add GDK_AVAILABLE_IN_3_x annotations for all API additions in 3.2 and 3.4.
Diffstat (limited to 'gtk/gtktreeview.h')
-rw-r--r--gtk/gtktreeview.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/gtk/gtktreeview.h b/gtk/gtktreeview.h
index 879d21c33e..741232eead 100644
--- a/gtk/gtktreeview.h
+++ b/gtk/gtktreeview.h
@@ -214,14 +214,14 @@ void gtk_tree_view_set_model (GtkTreeView
GtkTreeModel *model);
GtkTreeSelection *gtk_tree_view_get_selection (GtkTreeView *tree_view);
-GDK_DEPRECATED_FOR(gtk_scrollable_get_hadjustment)
+GDK_DEPRECATED_IN_3_0_FOR(gtk_scrollable_get_hadjustment)
GtkAdjustment *gtk_tree_view_get_hadjustment (GtkTreeView *tree_view);
-GDK_DEPRECATED_FOR(gtk_scrollable_set_hadjustment)
+GDK_DEPRECATED_IN_3_0_FOR(gtk_scrollable_set_hadjustment)
void gtk_tree_view_set_hadjustment (GtkTreeView *tree_view,
GtkAdjustment *adjustment);
-GDK_DEPRECATED_FOR(gtk_scrollable_get_vadjustment)
+GDK_DEPRECATED_IN_3_0_FOR(gtk_scrollable_get_vadjustment)
GtkAdjustment *gtk_tree_view_get_vadjustment (GtkTreeView *tree_view);
-GDK_DEPRECATED_FOR(gtk_scrollable_set_vadjustment)
+GDK_DEPRECATED_IN_3_0_FOR(gtk_scrollable_set_vadjustment)
void gtk_tree_view_set_vadjustment (GtkTreeView *tree_view,
GtkAdjustment *adjustment);
@@ -257,6 +257,8 @@ gint gtk_tree_view_insert_column_with_data_func (GtkTreeView
GtkTreeCellDataFunc func,
gpointer data,
GDestroyNotify dnotify);
+
+GDK_AVAILABLE_IN_3_4
guint gtk_tree_view_get_n_columns (GtkTreeView *tree_view);
GtkTreeViewColumn *gtk_tree_view_get_column (GtkTreeView *tree_view,
gint n);
@@ -435,7 +437,7 @@ typedef void (* GtkTreeDestroyCountFunc) (GtkTreeView *tree_view,
GtkTreePath *path,
gint children,
gpointer user_data);
-GDK_DEPRECATED
+GDK_DEPRECATED_IN_3_4
void gtk_tree_view_set_destroy_count_func (GtkTreeView *tree_view,
GtkTreeDestroyCountFunc func,
gpointer data,