[vte] vteseq: Use 'const' instead deprecated G_CONST_RETURN
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte] vteseq: Use 'const' instead deprecated G_CONST_RETURN
- Date: Mon, 13 Jun 2011 14:23:40 +0000 (UTC)
commit 97bf37f7a61c45792b116ea1957daa0b043bf4de
Author: Javier Jardón <jjardon gnome org>
Date: Mon Jun 13 15:22:58 2011 +0100
vteseq: Use 'const' instead deprecated 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 3fff7e8..83d1bc8 100644
--- a/src/vteseq.c
+++ b/src/vteseq.c
@@ -2839,7 +2839,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]