mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-25 00:26:52 +02:00
Drop a few more G_CONST_RETURN
This commit is contained in:
parent
7412e073d1
commit
ce9681b87e
@ -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);
|
||||
|
@ -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())
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user