Bug 661438: Fix up gmacros.h a bit
authorChun-wei Fan <fanchunwei@src.gnome.org>
Wed, 12 Oct 2011 02:38:47 +0000 (10:38 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Wed, 12 Oct 2011 02:38:47 +0000 (10:38 +0800)
The macro here should be G_DEPRECATED, not G_GNUC_DEPRECATED.

glib/gmacros.h

index 47adc8a..ca14e72 100644 (file)
 #if    __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1)
 #define G_DEPRECATED __attribute__((__deprecated__))
 #elif defined(_MSC_VER) && (_MSC_VER >= 1300)
-#define G_GNUC_DEPRECATED __declspec(deprecated)
+#define G_DEPRECATED __declspec(deprecated)
 #else
 #define G_DEPRECATED
 #endif