Re: [Vala] Crash in "ListStore.set_sort_func" callback



My earlier diagnosis (vapi bug) was probably wrong.
I think the culprit is the inappropriate casting here:

 model.set_sort_func(2, (Gtk.TreeIterCompareFunc) sort_percent2);

sort_percent2 is simply not compatible with TreeIterCompareFunc


hand
Nor Jaidi Tuah





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