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

Text error, GTK 1.0.x



I have a code snippet:
text_description = gtk_text_new (NULL, NULL);
gtk_text_insert (GTK_TEXT (text_description), NULL, NULL, NULL,
		tree_node->description->str,
		tree_node->description->len);

where tree_node->description is a valid gstring.

It works fine under 1.1.x, but under 1.0.x, the program crashes with
the following error:
** ERROR **: file gtktext.c: line 703 (gtk_text_insert): "GTK_WIDGET_REALIZED(text)"

Any ideas?



                                                           ---
						joseph p turian



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