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
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,
Hello,
We are proud to announce the 0.4.3 version of Gtkaml with the new Gtkon syntax.
Changes in 0.4.3:
- #! shebang support for Gtkon files to be used with the `gtkaml' executable
- vim syntax files for gtkon and gtkaml files. (thanks
panc...@nopcode.org). CDATA will never be the same.
See edito
Hi,
I'm having continuous crashes in "ListStore.set_sort_func" callback.
I've attached a sample code to show what happens.
I explain the program:
a flat treeview with 3 columns: numbers, strings, and percent-strings.
Ex. 17, "17", and "17%".
I want a custom function to sort the percent column, so
Hi, this line reports me error
"Feed" is class
"public Gee.ArrayList get_all_feeds() {"
this error
server.vala:44.9-44.28: error: GVariant serialization of type
`Gee.ArrayList' is not supported
public Gee.ArrayList get_all_feeds() {
Thanks for reply
signature.asc
Description: This