summaryrefslogtreecommitdiff
path: root/gtk/gtkviewport.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2011-11-09 22:02:42 -0500
committerMatthias Clasen <mclasen@redhat.com>2011-11-09 22:02:42 -0500
commita78ab0cfa1d5e5e15d505bce0761a00708400ce3 (patch)
tree98b9f748a756937f961c482b3e2380bc481c165f /gtk/gtkviewport.h
parentb3e13bd0a831c76b40ea470043e4d0da11229c0f (diff)
downloadgtk+-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.h12
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);