Re: Gtk::TreeSelection problem (redux)



On Mo, 2016-05-16 at 08:16 -0700, Phil Wolff wrote:
[snip]
Both of these code snippets generate the following two error
messages 
when the if-test is satisfied:

     Gtk-CRITICAL **: gtk_tree_store_get_value: assertion
'VALID_ITER 
(iter, tree_store)' failed
     GLib-GObject-CRITICAL **: g_value_get_string: assertion 
'G_VALUE_HOLDS_STRING (value)' failed

Is this reasonable?

This might just be a symptom of some other problem, such as a null
pointer somewhere. You might get more clues by running under valgrind,
or just by cutting your code down to the smallest possible example that
reproduces the problem.

-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]