[mutter/wip/nielsdg/cleanup-cogl: 2/3] cogl: Remove unused macro COGL_GNUC_DEPRECATED



commit bf8a3b1c1cd5692eebe94f43c4a0422e68e294eb
Author: Niels De Graef <nielsdegraef gmail com>
Date:   Fri Nov 23 08:46:51 2018 +0100

    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)

 cogl/cogl/cogl-types.h | 8 --------
 1 file changed, 8 deletions(-)
---
diff --git a/cogl/cogl/cogl-types.h b/cogl/cogl/cogl-types.h
index b324da2e8..c8f9e8305 100644
--- a/cogl/cogl/cogl-types.h
+++ b/cogl/cogl/cogl-types.h
@@ -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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]