]> Pileus Git - ~andy/gtk/commit
Add versioned deprecation macros
authorMatthias Clasen <mclasen@redhat.com>
Mon, 27 Feb 2012 12:04:30 +0000 (07:04 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 27 Feb 2012 12:11:43 +0000 (07:11 -0500)
commite580c79ae05a10fb33313b9ae36d95905cfc7b89
tree5f22a44e467b26c57d1e99686c1607ceb804b8c1
parent6e10837d084651905881a1b0322290566f2b1218
Add versioned deprecation macros

These macros follow the recent changes in GLibs deprecation
setup. We now annotate deprecated functions with the version
they were deprecated in, and you can define the macro
GDK_VERSION_MIN_REQUIRED to cut off deprecation warnings for
'recent' deprecations.

At the same time, we introduce version annotations for new API
and allow you to avoid 'recent' API additions by defining
GDK_VERSION_MAX_ALLOWED.
configure.ac
gdk/Makefile.am
gdk/gdk.h
gdk/gdkversionmacros.h.in [new file with mode: 0644]