summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Roberts <neil@linux.intel.com>2012-09-03 15:43:15 +0100
committerNeil Roberts <neil@linux.intel.com>2012-09-03 15:47:56 +0100
commitf13f6b9175639e7c178973851102da49610f323a (patch)
treeff814ffa11ae52cc741a1f8fe9aa37be23b01d27
parent45f41754762930a19ed57665170d8ab5c592aca3 (diff)
downloadcogl-f13f6b9175639e7c178973851102da49610f323a.tar.gz
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.
-rw-r--r--cogl/cogl-defines.h.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/cogl/cogl-defines.h.in b/cogl/cogl-defines.h.in
index a8765d86..6bef0cb7 100644
--- a/cogl/cogl-defines.h.in
+++ b/cogl/cogl-defines.h.in
@@ -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