[cogl/cogl-1.12] cogl-version: Fix the version number
- From: Neil Roberts <nroberts src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/cogl-1.12] cogl-version: Fix the version number
- Date: Mon, 3 Sep 2012 14:49:37 +0000 (UTC)
commit f13f6b9175639e7c178973851102da49610f323a
Author: Neil Roberts <neil linux intel com>
Date: Mon Sep 3 15:43:15 2012 +0100
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.
cogl/cogl-defines.h.in | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/cogl/cogl-defines.h.in b/cogl/cogl-defines.h.in
index a8765d8..6bef0cb 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]