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 09:11:02 +0800
The sort function is compiled as
static gint my_app_sort_percent2 (MyApp* self, GtkTreeModel* model2,
GtkTreeIter* iter1, GtkTreeIter* iter2) {
According to the gtk doc, GtkTreeIterCompareFunc has
this signature:
gint (*GtkTreeIterCompareFunc) (GtkTreeModel *model,
GtkTreeIter *a,
GtkTreeIter *b,
gpointer user_data);
So, it appears to be a bug (a SERIOUS bug) in the vapi.
Nice day
Nor Jaidi Tuah
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]