cogl: Remove unused macro COGL_GNUC_DEPRECATED

This is also already defined in GLib as G_GNUC_DEPRECATED.

(Note that it is also something different than COGL_DEPRECATED)
This commit is contained in:
Niels De Graef 2018-11-23 08:46:51 +01:00
parent 3a4a858ce3
commit bf8a3b1c1c

View File

@ -70,14 +70,6 @@ typedef int CoglBool;
#define COGL_GNUC_NULL_TERMINATED
#endif
#if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1)) && \
!defined (COGL_COMPILATION)
#define COGL_GNUC_DEPRECATED \
__attribute__((__deprecated__))
#else
#define COGL_GNUC_DEPRECATED
#endif /* __GNUC__ */
/* Some structures are meant to be opaque but they have public
definitions because we want the size to be public so they can be
allocated on the stack. This macro is used to ensure that users