summaryrefslogtreecommitdiff
path: root/cogl/cogl.h
diff options
context:
space:
mode:
authorNeil Roberts <neil@linux.intel.com>2012-03-09 16:09:13 +0000
committerNeil Roberts <neil@linux.intel.com>2012-03-09 16:09:13 +0000
commit361bd516f3d678d6d8ec08c1f01cf872e10a4f43 (patch)
tree3e53d9e03bcbba0da9fd336ada449b88611ddf89 /cogl/cogl.h
parent1b947a47c8103d1406b02aad29b3691535a5012b (diff)
downloadcogl-361bd516f3d678d6d8ec08c1f01cf872e10a4f43.tar.gz
Add compatibility API for functions removed after 1.9.8
The cleanup in 185630085 removed some symbols that were previously exported as public experimental API in Cogl 1.9.8. That release is already well after the point where we were meant to freeze the ABI so we probably shouldn't be breaking it again. This patch adds the removed functions back in so that for 1.9.10 we won't have to bump the soname. The symbols are bundled together in a new file called cogl2-compatibility.c so that they will be easy to remove again after we can break ABI. It is expected that we will revert this patch immediately after branching for Cogl 1.10. Reviewed-by: Robert Bragg <robert@linux.intel.com>
Diffstat (limited to 'cogl/cogl.h')
-rw-r--r--cogl/cogl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cogl/cogl.h b/cogl/cogl.h
index 44778851..d2e0bc06 100644
--- a/cogl/cogl.h
+++ b/cogl/cogl.h
@@ -124,6 +124,8 @@
*/
#ifdef COGL_ENABLE_EXPERIMENTAL_2_0_API
#include <cogl/cogl2-path.h>
+/* This header will be removed in Cogl 1.12 */
+#include <cogl/cogl2-compatibility.h>
#endif
/*