[vte/vte-next] Don't use G_CONST_RETURN



commit 55cec5e04fcf85f2e018bc590592cd1629440b4d
Author: Christian Persch <chpe gnome org>
Date:   Sat Jun 4 21:45:25 2011 +0200

    Don't use G_CONST_RETURN

 src/vteseq.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/vteseq.c b/src/vteseq.c
index 07d96be..4cb7616 100644
--- a/src/vteseq.c
+++ b/src/vteseq.c
@@ -2841,7 +2841,7 @@ vte_sequence_handler_delete_lines (VteTerminal *terminal, GValueArray *params)
 static void
 vte_sequence_handler_local_charset (VteTerminal *terminal, GValueArray *params)
 {
-	G_CONST_RETURN char *locale_encoding;
+	const char *locale_encoding;
 	g_get_charset(&locale_encoding);
 	vte_terminal_set_encoding(terminal, locale_encoding);
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]