Drop a few more G_CONST_RETURN

This commit is contained in:
Ryan Lortie 2011-06-13 09:27:28 -04:00
parent 7412e073d1
commit ce9681b87e
2 changed files with 2 additions and 2 deletions

View File

@ -1074,7 +1074,7 @@ g_value_take_string (GValue *value,
*
* Returns: string content of @value
*/
G_CONST_RETURN gchar*
const gchar*
g_value_get_string (const GValue *value)
{
g_return_val_if_fail (G_VALUE_HOLDS_STRING (value), NULL);

View File

@ -745,7 +745,7 @@ test_info (void)
g_free (sconfdirs);
g_free (langnames);
charset_is_utf8 = g_get_charset ((G_CONST_RETURN char**)&charset);
charset_is_utf8 = g_get_charset ((const char**)&charset);
if (g_test_verbose())
{