[gtkada] more control when displaying numeric values by a Gtk_Cell_Renderer_Text

Emmanuel Briot briot at adacore.com
Tue Aug 18 11:35:38 CEST 2015


> I followed your advice below and the example in testgtk and I got it working. There was perhaps one glitch.
> When I run the program from the Xterm it all works fine. When I run it by double clicking from the filemanager the Gdoubles are display in their default form and I get an error (tested this by unsetting LD_LIBRARY_PATH in Xterm):
> 
> "(program:3369)): Gtk-CRITICAL **: gtk_tree_model_filter_set_modify_func: assertion 'filter->priv->modify_func_set == FALSE' failed"

Can't help much here. This is likely an error in your code. You could try running with
valgrind, although I would not expect it to lead useful info in this case.
Perhaps you are setting the Modify_Func several times and gtk+ does not like this ?



More information about the gtkada mailing list