aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/proto_draw.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2005-08-09 00:07:12 +0000
committerGuy Harris <guy@alum.mit.edu>2005-08-09 00:07:12 +0000
commit0632baee212319360a01568ac8e8613cdfdc6b16 (patch)
treed36a5d9f61c13378f8893d175aa78d1a5f761fed /gtk/proto_draw.c
parentbadd56fbfdb798be5f1cb1145a9fce0f46512599 (diff)
"g_locale_to_utf8()" returns a "gchar *", and the string it returns is
dynamically allocated. Don't assign its result to "const gchar *". svn path=/trunk/; revision=15266
Diffstat (limited to 'gtk/proto_draw.c')
-rw-r--r--gtk/proto_draw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/proto_draw.c b/gtk/proto_draw.c
index a9025ef39b..4fb4c8b560 100644
--- a/gtk/proto_draw.c
+++ b/gtk/proto_draw.c
@@ -1020,7 +1020,7 @@ packet_hex_print_common(GtkTextView *bv, const guint8 *pd, int len, int bstart,
GtkTextBuffer *buf = gtk_text_view_get_buffer(GTK_TEXT_VIEW(bv));
GtkTextIter iter;
const char *revstyle;
- const gchar *convline;
+ gchar *convline;
gsize newsize;
GtkTextMark *mark = NULL;
#endif