Re: [Vala] Bug with Gtk3 and structs



On 22/10/11 18:02, Alexandre Rosenfeld wrote:
Not sure if it completely solves your problem, but you cant put the -1
in the *set* call, Vala does that for you automatically. For instance,
take a look at the C code:

    gtk_list_store_set (model, &_tmp3_, 0, &_tmp4_, -1, -1);


It has the -1 two times. So just use:

    model.set(iter, 0, mystruct);

Thanks for the tip :) Problem is still there though :/

--
Andrew



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