mutter/cogl-pango
Robert Bragg afbb13e1a4 Add compiler deprecation warnings
This adds compiler symbol deprecation declarations for old Cogl APIs so
that users can easily see via compiler warning when they are using these
symbols, and also see a hint for what the apis should be replaced with.

So that users of Cogl can manage when to show these warnings this
introduces a scheme borrowed from glib whereby you can declare what
version of the Cogl api you are using:

COGL_VERSION_MIN_REQUIRED can be defined to indicate the oldest Cogl api
that the application wants to use. Cogl will only warn about
deprecations for symbols that were deprecated earlier than this required
version. If this is left undefined then by default Cogl will warn about
all deprecations.

COGL_VERSION_MAX_ALLOWED can be defined to indicate the newest api
that the application uses. If the application uses symbols newer than
this then Cogl will give a warning about that.

This patch removes the need to maintain the COGL_DISABLE_DEPRECATED
guards around deprecated symbols.

This patch fixes a few uses of deprecated symbols in the examples/

Reviewed-by: Neil Roberts <neil@linux.intel.com>
2013-04-24 22:23:50 +01:00
..
cogl-pango-1.0.pc.in build: Don't make cogl-pango-1.0 depend on cogl-2.0 2011-05-06 17:34:57 +01:00
cogl-pango-2.0-experimental.pc.in Make it clearer that the 2.0 API is experimental 2011-06-14 17:09:55 +01:00
cogl-pango-display-list.c cogl-pango: Updates to no longer require a default context 2013-01-22 17:48:09 +00:00
cogl-pango-display-list.h cogl-pango: Updates to no longer require a default context 2013-01-22 17:48:09 +00:00
cogl-pango-fontmap.c cogl-pango: Updates to no longer require a default context 2013-01-22 17:48:09 +00:00
cogl-pango-glyph-cache.c Allow lazy texture storage allocation 2013-01-22 17:48:17 +00:00
cogl-pango-glyph-cache.h atlas-texture: remove some use of _COGL_GET_CONTEXT 2013-01-22 17:48:09 +00:00
cogl-pango-pipeline-cache.c cogl-pango: Updates to no longer require a default context 2013-01-22 17:48:09 +00:00
cogl-pango-pipeline-cache.h cogl-pango: Updates to no longer require a default context 2013-01-22 17:48:09 +00:00
cogl-pango-private.h cogl-pango: Updates to no longer require a default context 2013-01-22 17:48:09 +00:00
cogl-pango-render.c atlas-texture: remove some use of _COGL_GET_CONTEXT 2013-01-22 17:48:09 +00:00
cogl-pango.h Add compiler deprecation warnings 2013-04-24 22:23:50 +01:00
cogl-pango.pc.in build: only have libcogl-pango depend on pango 2011-08-12 15:28:42 +01:00
cogl-pango.rc.in Fix Visual C++ build 2012-08-06 14:27:42 +01:00
cogl-pango.symbols VS 2008/2010 project files to build Cogl 2011-11-25 13:12:45 +00:00
Makefile.am cogl-pango: Add a missing backslash in the Makefile 2013-02-20 14:55:44 +00:00