Remove all uses of G_CONST_RETURN

Just use 'const'.
This commit is contained in:
Ryan Lortie
2011-03-12 21:50:45 -05:00
parent 61b0e1c8d4
commit 36741245cc
35 changed files with 122 additions and 122 deletions

View File

@@ -920,7 +920,7 @@ g_io_channel_set_line_term (GIOChannel *channel,
* Return value: The line termination string. This value
* is owned by GLib and must not be freed.
**/
G_CONST_RETURN gchar*
const gchar *
g_io_channel_get_line_term (GIOChannel *channel,
gint *length)
{
@@ -1458,7 +1458,7 @@ g_io_channel_set_encoding (GIOChannel *channel,
* Return value: A string containing the encoding, this string is
* owned by GLib and must not be freed.
**/
G_CONST_RETURN gchar*
const gchar *
g_io_channel_get_encoding (GIOChannel *channel)
{
g_return_val_if_fail (channel != NULL, NULL);