summaryrefslogtreecommitdiff
path: root/gtk/gtkviewport.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/gtkviewport.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/gtkviewport.h')
-rw-r--r--gtk/gtkviewport.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtkviewport.h b/gtk/gtkviewport.h
index 68a23f2875..50d8a4112c 100644
--- a/gtk/gtkviewport.h
+++ b/gtk/gtkviewport.h
@@ -75,14 +75,14 @@ GType gtk_viewport_get_type (void) G_GNUC_CONST;
GtkWidget* gtk_viewport_new (GtkAdjustment *hadjustment,
GtkAdjustment *vadjustment);
-GDK_DEPRECATED_FOR(gtk_scrollable_get_hadjustment)
+GDK_DEPRECATED_IN_3_0_FOR(gtk_scrollable_get_hadjustment)
GtkAdjustment* gtk_viewport_get_hadjustment (GtkViewport *viewport);
-GDK_DEPRECATED_FOR(gtk_scrollable_get_vadjustment)
+GDK_DEPRECATED_IN_3_0_FOR(gtk_scrollable_get_vadjustment)
GtkAdjustment* gtk_viewport_get_vadjustment (GtkViewport *viewport);
-GDK_DEPRECATED_FOR(gtk_scrollable_set_hadjustment)
+GDK_DEPRECATED_IN_3_0_FOR(gtk_scrollable_set_hadjustment)
void gtk_viewport_set_hadjustment (GtkViewport *viewport,
GtkAdjustment *adjustment);
-GDK_DEPRECATED_FOR(gtk_scrollable_set_vadjustment)
+GDK_DEPRECATED_IN_3_0_FOR(gtk_scrollable_set_vadjustment)
void gtk_viewport_set_vadjustment (GtkViewport *viewport,
GtkAdjustment *adjustment);