shell: Define COGL_ENABLE_EXPERIMENTAL_API and related defines globally

This allows us to use new Cogl APIs without having to define things in
every .c/.h file manually.
This commit is contained in:
Jasper St. Pierre
2014-08-07 14:06:19 -04:00
parent d836194e31
commit 3df7ef6ce6
7 changed files with 4 additions and 11 deletions

View File

@ -26,8 +26,6 @@
#include <stdlib.h>
#include <string.h>
#define CLUTTER_ENABLE_EXPERIMENTAL_API
#define COGL_ENABLE_EXPERIMENTAL_API
#include <clutter/clutter.h>
#include <clutter/x11/clutter-x11.h>
#include <gjs/gjs.h>