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:
Emmanuele Bassi
2011-03-15 09:03:28 +00:00
parent 0c1acc7e74
commit 08f0a31289
35 changed files with 122 additions and 122 deletions

View File

@@ -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);