From 2c25bd85b8690eb0ca6b023122dc130d57c0ca8d Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 27 Feb 2012 07:10:59 -0500 Subject: 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. --- gtk/gtklayout.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gtk/gtklayout.h') diff --git a/gtk/gtklayout.h b/gtk/gtklayout.h index 709c35451c..f261abcd93 100644 --- a/gtk/gtklayout.h +++ b/gtk/gtklayout.h @@ -94,14 +94,14 @@ void gtk_layout_get_size (GtkLayout *layout, guint *width, guint *height); -GDK_DEPRECATED_FOR(gtk_scrollable_get_hadjustment) +GDK_DEPRECATED_IN_3_0_FOR(gtk_scrollable_get_hadjustment) GtkAdjustment* gtk_layout_get_hadjustment (GtkLayout *layout); -GDK_DEPRECATED_FOR(gtk_scrollable_get_vadjustment) +GDK_DEPRECATED_IN_3_0_FOR(gtk_scrollable_get_vadjustment) GtkAdjustment* gtk_layout_get_vadjustment (GtkLayout *layout); -GDK_DEPRECATED_FOR(gtk_scrollable_set_hadjustment) +GDK_DEPRECATED_IN_3_0_FOR(gtk_scrollable_set_hadjustment) void gtk_layout_set_hadjustment (GtkLayout *layout, GtkAdjustment *adjustment); -GDK_DEPRECATED_FOR(gtk_scrollable_set_vadjustment) +GDK_DEPRECATED_IN_3_0_FOR(gtk_scrollable_set_vadjustment) void gtk_layout_set_vadjustment (GtkLayout *layout, GtkAdjustment *adjustment); -- cgit v1.2.1