gtktree: combination filter and using gtk_tree_model_foreach

2017-05-24 Thread Rob Alblas
In a GtkTree I want to use a filter, and also extend the tree using gtk_tree_model_foreach. The combination of the 2 gives problems. In the function connected to gtk_tree_model_foreach I use the GtkTreeIter *iter argument, which gives an error message: Gtk-CRITICAL **: IA__gtk_tree_store_appen

g_spawn_async lockup

2008-07-08 Thread Rob Alblas
Hi, I want to execute an external program using g_spawn_async_with_pipes. This program outputs ASCII to stdout, which I want to catch using g_child_watch_add. This works fine, but if the data exceeds a certain amount of data apparently the pipe gets 'full', causing the ext. program to wait with out

Re: g_spawn_async lockup

2008-07-11 Thread Rob Alblas
|G_SPAWN_SEARCH_PATH,NULL,NULL,&pid,NULL); g_child_watch_add(pid,(GChildWatchFunc)post_process,data); This doesn't seem to work: a program redirecting to a file used with g_spawn_async. Any idea to solve this problem, either with or without piping? Regards, Rob A. Rob Alblas wrote: