Hi,
I'm facing a problem in the use of GtkTextView. When I insert a image into the
GtkTextView, there is an explicit memory leak problem.
Some source code is as follow:
//////////
image=gtk_image_new_from_file(path);
gtk_widget_show(image);
anchor = gtk_text_buffer_create_child_anchor (buffer, &iter);
gtk_text_view_add_child_at_anchor (GTK_TEXT_VIEW(textview), image, anchor);
//////////////
Can someone tell me why? Thanks in advance.
Chip
ustc.chip
2008-08-29
_______________________________________________
gtk-app-devel-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list