On Mon, Jul 21, 2014 at 10:31:41AM +0200, Mathias Müller wrote: > thanks. This works pretty well. But I have to skip > gwy_data_view_set_data_prefix(data_view, "/0/data");. I receive a > segmentation fault > when adding this line.
This is done in dozens of modules in Gwyddion so it should not crash. Maybe if the widgets are set up in an unusual order? I cannot tell much more without seeing the crash (or at least seeing the code and backtrace). > Another thing, the "realsquare" setting works, but only after changing > the channel. This is because of the missing gwy_data_view_set_data_prefix(). Since the data view does not watch the setting, it will notice the new value just coincidentally when something else changes. Regards, Yeti ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds _______________________________________________ Gwyddion-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gwyddion-users
