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:
39a528b
)
Make G_DISABLE_DEPRECATED work again for wholly deprecated headers
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 3 Feb 2013 06:11:02 +0000
(
01:11
-0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 3 Feb 2013 06:11:02 +0000
(
01:11
-0500)
Patch by Milan Crha,
https://bugzilla.gnome.org/show_bug.cgi?id=688169
glib/glib.h
patch
|
blob
|
history
diff --git
a/glib/glib.h
b/glib/glib.h
index
77abf23
..
ce7447e
100644
(file)
--- a/
glib/glib.h
+++ b/
glib/glib.h
@@
-100,12
+100,14
@@
#include <glib/gwin32.h>
#endif
+#ifndef G_DISABLE_DEPRECATED
#include <glib/deprecated/gallocator.h>
#include <glib/deprecated/gcache.h>
#include <glib/deprecated/gcompletion.h>
#include <glib/deprecated/gmain.h>
#include <glib/deprecated/grel.h>
#include <glib/deprecated/gthread.h>
+#endif /* G_DISABLE_DEPRECATED */
#undef __GLIB_H_INSIDE__