mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-10-03 20:29:21 +02:00
Use GLIB_DEPRECATED instead of G_GNUC_DEPRECATED in our headers
This will let others opt out of seeing GLib deprecation warnings by defining GLIB_DISABLE_DEPRECATION_WARNINGS. https://bugzilla.gnome.org/show_bug.cgi?id=661438
This commit is contained in:
committed by
Matthias Clasen
parent
a1acf35653
commit
08d6e1147d
@@ -568,8 +568,9 @@ void g_unicode_canonical_ordering (gunichar *string,
|
||||
|
||||
#ifndef G_DISABLE_DEPRECATED
|
||||
/* Deprecated. Use g_unichar_fully_decompose() */
|
||||
GLIB_DEPRECATED
|
||||
gunichar *g_unicode_canonical_decomposition (gunichar ch,
|
||||
gsize *result_len) G_GNUC_MALLOC G_GNUC_DEPRECATED;
|
||||
gsize *result_len) G_GNUC_MALLOC;
|
||||
#endif
|
||||
|
||||
/* Array of skip-bytes-per-initial character.
|
||||
|
Reference in New Issue
Block a user