mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
Revert "Remove all uses of G_CONST_RETURN"
This reverts commit 36741245cc
.
The removal has not been discussed, except on Bugzilla:
https://bugzilla.gnome.org/show_bug.cgi?id=644611
This commit is contained in:
@@ -553,7 +553,7 @@ charset_cache_free (gpointer data)
|
||||
* Return value: %TRUE if the returned charset is UTF-8
|
||||
**/
|
||||
gboolean
|
||||
g_get_charset (const char **charset)
|
||||
g_get_charset (G_CONST_RETURN char **charset)
|
||||
{
|
||||
static GStaticPrivate cache_private = G_STATIC_PRIVATE_INIT;
|
||||
GCharsetCache *cache = g_static_private_get (&cache_private);
|
||||
|
Reference in New Issue
Block a user