Re: GtkTextView sometimes freezes
- From: Tim Müller <zen18864 zen co uk>
- To: gtk-app-devel-list gnome org
- Subject: Re: GtkTextView sometimes freezes
- Date: Sun, 21 Nov 2004 10:56:43 +0000
On Saturday 20 November 2004 15:29, Radek Vokál wrote:
gtk_text_buffer_get_start_iter (text_buffer,&iter);
if (the_tag != NULL)
gtk_text_buffer_insert_with_tags(text_buffer,&iter,
g_utf8_normalize(the_text,-1,G_NORMALIZE_ALL),-1,the_tag,NULL);
else
gtk_text_buffer_insert(text_buffer,&iter,
g_utf8_normalize(the_text,-1,G_NORMALIZE_ALL),-1);
Not that this is gonna help with your freezing problem, but you do realise
you're leaking the result of g_utf8_normalize() here, right?
Cheers
-Tim
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]