I try only to update periodically the value in the first row of a (single column) GtkTreeView but the RAM consumption keeps growing!
Simplified excerpt :
static GtkListStore* liststore;
...
gboolean first_row_updater_timeout(gpointer user_data G_GNUC_UNUSED) {
GtkTreeIter iter;
gtk_tree_model_get_iter_first(GTK_TREE_MODEL(liststore), &iter);
gtk_list_store_set (liststore, &iter, 0, "some text", -1);
return TRUE
}
which is called in a g_timeout_add(10, (GSourceFunc) first_row_updater_timeout, NULL);
What I'm doing wrong?