Re: g_object_set and threads

2005-07-07 Thread abel schie
abel schie wrote: No, you don't call gtk_tree_model_row_changed() from you cell data function, but from you time out function, which updates the list store. And you call it on the list store. Ok, I've tried that, but still the treeview doesn't get updated. Maybe it has to do

Re: g_object_set and threads

2005-07-06 Thread abel schie
abel schie wrote: I've made a gtktreeviewcolumn with a custom GtkTreeCellDataFunc, called cell_func(). This custom function uses the underlying GtkListStore to render the cells: it uses gtk_tree_model_get() to fetch some values, and then g_object_set(renderer,...) to update the cell renderer

Re: g_object_set and threads

2005-07-06 Thread abel schie
In any case, I really doubt that this has anything to do with using threads. I think it has, since this refreshing problem started since I had do use gdk_trheads_enter()/leave() is some other part of the application. A naive guess of mine would be to suggest you try putting

Re: g_object_set and threads

2005-07-06 Thread abel schie
No, you don't call gtk_tree_model_row_changed() from you cell data function, but from you time out function, which updates the list store. And you call it on the list store. Ok, I've tried that, but still the treeview doesn't get updated. Maybe it has to do with g_object_set which I use to