cogl-version: Fix the version number

The version number macros were using the @COGL_VERSION_*@
substitutions. These are always defined to 2.0.0 in the 1.x releases
so we need to use the Cogl @COGL_1_VERSION_*@ substitutions instead to
get the real version number.
This commit is contained in:
Neil Roberts 2012-09-03 15:43:15 +01:00
parent 45f4175476
commit f13f6b9175

View File

@ -34,10 +34,10 @@ G_BEGIN_DECLS
@COGL_DEFINES@
#define COGL_VERSION_MAJOR_INTERNAL @COGL_MAJOR_VERSION@
#define COGL_VERSION_MINOR_INTERNAL @COGL_MINOR_VERSION@
#define COGL_VERSION_MICRO_INTERNAL @COGL_MICRO_VERSION@
#define COGL_VERSION_STRING_INTERNAL "@COGL_VERSION@"
#define COGL_VERSION_MAJOR_INTERNAL 1
#define COGL_VERSION_MINOR_INTERNAL @COGL_1_MINOR_VERSION@
#define COGL_VERSION_MICRO_INTERNAL @COGL_1_MICRO_VERSION@
#define COGL_VERSION_STRING_INTERNAL "@COGL_1_VERSION@"
G_END_DECLS