mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 20:32:16 +00:00
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:
parent
3a4a858ce3
commit
bf8a3b1c1c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user