Re: [Vala] Bug with Gtk3 and structs
- From: Andrew Higginson <at higginson gmail com>
- To: Alexandre Rosenfeld <alexandre rosenfeld gmail com>
- Cc: "vala-list gnome org" <vala-list gnome org>
- Subject: Re: [Vala] Bug with Gtk3 and structs
- Date: Sat, 22 Oct 2011 18:35:04 +0100
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]