Re: GString in GtkTreeStore columns

2009-06-23 Thread Konrad Anton
Hello all, problem solved (thanks, Tadej!). For the archive: If a column of a GtkTreeStore is defined as G_TYPE_STRING, then gtk_tree_store_set will make a copy of the string contents. > string = g_string_new( "Sample text" ); > /* Next call will free any string that was present in first colu

GString in GtkTreeStore columns

2009-06-23 Thread Konrad Anton
Hello all, the application I'm trying to implement contains a table view which is periodically updated. Some of the columns shall contain dynamically sprintf'd strings. Imagine a "top" utility which reads the processes' command lines from files and shows them in the "command line" column. I'