diff options
author | Matthias Clasen <mclasen@redhat.com> | 2011-11-09 22:02:42 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2011-11-09 22:02:42 -0500 |
commit | a78ab0cfa1d5e5e15d505bce0761a00708400ce3 (patch) | |
tree | 98b9f748a756937f961c482b3e2380bc481c165f /gtk/gtkviewport.h | |
parent | b3e13bd0a831c76b40ea470043e4d0da11229c0f (diff) | |
download | gtk+-a78ab0cfa1d5e5e15d505bce0761a00708400ce3.tar.gz |
Drop use of GDK_DISABLE_DEPRECATED guards in gtk
We now use function attributes for deprecation so the build-breaking
guards are no longer needed.
Diffstat (limited to 'gtk/gtkviewport.h')
-rw-r--r-- | gtk/gtkviewport.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk/gtkviewport.h b/gtk/gtkviewport.h index 6865310455..68a23f2875 100644 --- a/gtk/gtkviewport.h +++ b/gtk/gtkviewport.h @@ -75,16 +75,16 @@ GType gtk_viewport_get_type (void) G_GNUC_CONST; GtkWidget* gtk_viewport_new (GtkAdjustment *hadjustment, GtkAdjustment *vadjustment); -#if !defined (GTK_DISABLE_DEPRECATED) || defined (GTK_COMPILATION) - +GDK_DEPRECATED_FOR(gtk_scrollable_get_hadjustment) GtkAdjustment* gtk_viewport_get_hadjustment (GtkViewport *viewport); +GDK_DEPRECATED_FOR(gtk_scrollable_get_vadjustment) GtkAdjustment* gtk_viewport_get_vadjustment (GtkViewport *viewport); +GDK_DEPRECATED_FOR(gtk_scrollable_set_hadjustment) void gtk_viewport_set_hadjustment (GtkViewport *viewport, - GtkAdjustment *adjustment); + GtkAdjustment *adjustment); +GDK_DEPRECATED_FOR(gtk_scrollable_set_vadjustment) void gtk_viewport_set_vadjustment (GtkViewport *viewport, - GtkAdjustment *adjustment); - -#endif + GtkAdjustment *adjustment); void gtk_viewport_set_shadow_type (GtkViewport *viewport, GtkShadowType type); |