After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 688169 - G_DISABLE_DEPRECATED doesn't cover deprecated/gthread.h and others
G_DISABLE_DEPRECATED doesn't cover deprecated/gthread.h and others
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: general
2.34.x
Other Linux
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2012-11-12 14:08 UTC by Milan Crha
Modified: 2013-02-03 06:11 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed glib patch (487 bytes, patch)
2012-11-12 14:16 UTC, Milan Crha
none Details | Review

Description Milan Crha 2012-11-12 14:08:19 UTC
I have defined G_DISABLE_DEPRECATED in evolution, still I can compile when using g_mutex_new(), g_mutex_free() functions. I expect those from glib/deprecated/* will be also disabled when I have the macro defined.
Comment 1 Milan Crha 2012-11-12 14:16:13 UTC
Created attachment 228779 [details] [review]
proposed glib patch

for glib;

Include files from deprecated/ subfolder only if the macro is not defined.