projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17c713d
)
Bug 661438: Fix up gmacros.h a bit
author
Chun-wei Fan
<fanchunwei@src.gnome.org>
Wed, 12 Oct 2011 02:38:47 +0000
(10:38 +0800)
committer
Chun-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
patch
|
blob
|
history
diff --git
a/glib/gmacros.h
b/glib/gmacros.h
index
47adc8a
..
ca14e72
100644
(file)
--- a/
glib/gmacros.h
+++ b/
glib/gmacros.h
@@
-290,7
+290,7
@@
#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