Revert "headers: Add various missing G_DISABLE_DEPRECATED guards"

This reverts commit 80fcb1bc26.

G_DISABLE_DEPRECATED should never be used by anybody, least of all by
GLib. We have deprecation annotations for the compiler, these days, and
they are much better suited than a macro that makes symbols appear and
disappear. The fact that gtk-doc doesn't understand the deprecation
annotations is a limitation of gtk-doc, and it's gtk-doc that ought to be
fixed.

Commit 80fcb1bc broke GStreamer, which disables old API that was
deprecated before the introduction of the deprecation annotations, but
still uses newly deprecated one, and relies on the deprecation
annotations to do their thing. It also broke libsoup, as it uses
GValueArray in its own API.
This commit is contained in:
Emmanuele Bassi
2019-03-15 18:30:16 +00:00
parent fd42994015
commit e5ba5845a1
13 changed files with 5 additions and 48 deletions

View File

@@ -27,8 +27,6 @@
G_BEGIN_DECLS
#ifndef G_DISABLE_DEPRECATED
/**
* G_TYPE_VALUE_ARRAY:
*
@@ -100,7 +98,6 @@ GValueArray* g_value_array_sort_with_data (GValueArray *value_array,
GCompareDataFunc compare_func,
gpointer user_data);
#endif /* !G_DISABLE_DEPRECATED */
G_END_DECLS