Re: [Vala] Crash in "ListStore.set_sort_func" callback
- From: Nor Jaidi Tuah <norjaidi tuah ubd edu bn>
- To: <vala-list gnome org>
- Subject: Re: [Vala] Crash in "ListStore.set_sort_func" callback
- Date: Tue, 22 Mar 2011 12:03:37 +0800
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]