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



On Tue, Mar 22, 2011 at 09:11:02AM +0800, Nor Jaidi Tuah wrote:
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.

See this bug report:
https://bugzilla.gnome.org/show_bug.cgi?id=627736

Attachment: pgpFol1FEkjhn.pgp
Description: PGP signature



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