diff options
author | Matthias Clasen <mclasen@redhat.com> | 2011-10-11 15:03:46 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2011-10-11 15:03:46 -0400 |
commit | 9e0efc5022400b003725838af5a1c173ebea0bd1 (patch) | |
tree | cb84d7101c386aee87dc44edfe39a051d1b8e82e /gtk/gtklayout.h | |
parent | 8f078992fd1981848113e12883db3f4e15e31cd1 (diff) | |
download | gtk+-9e0efc5022400b003725838af5a1c173ebea0bd1.tar.gz |
Add deprecation annotations for deprecated functions
We define our own GDK_DEPRECATED[_FOR] macros for this
and allow it to be turned off by defining the
GDK_DISABLE_DEPRECATION_WARNINGS macro.
Diffstat (limited to 'gtk/gtklayout.h')
-rw-r--r-- | gtk/gtklayout.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gtk/gtklayout.h b/gtk/gtklayout.h index c2159f5133..67b0b26fbf 100644 --- a/gtk/gtklayout.h +++ b/gtk/gtklayout.h @@ -95,13 +95,16 @@ void gtk_layout_get_size (GtkLayout *layout, guint *height); #if !defined (GTK_DISABLE_DEPRECATED) || defined (GTK_COMPILATION) - +GDK_DEPRECATED_FOR(gtk_scrollable_get_hadjustment) GtkAdjustment* gtk_layout_get_hadjustment (GtkLayout *layout); +GDK_DEPRECATED_FOR(gtk_scrollable_get_vadjustment) GtkAdjustment* gtk_layout_get_vadjustment (GtkLayout *layout); +GDK_DEPRECATED_FOR(gtk_scrollable_set_hadjustment) void gtk_layout_set_hadjustment (GtkLayout *layout, - GtkAdjustment *adjustment); + GtkAdjustment *adjustment); +GDK_DEPRECATED_FOR(gtk_scrollable_set_vadjustment) void gtk_layout_set_vadjustment (GtkLayout *layout, - GtkAdjustment *adjustment); + GtkAdjustment *adjustment); #endif |