Re: [Vala] GTK+ Tutorial

2012-08-30 Thread Axel FILMORE
On 29/08/2012 22:39, Horace Abenga wrote: > Hi all, > > I'm planning on writing a comprehensive GTK+ programming using Vala tutorial > that will loosely follow the classic GTK+ tutorial > (http://developer.gnome.org/gtk-tutorial/2.90/). > > I've done the first four chapters, which can be found (i

Re: [Vala] GTK+ Tutorial

2012-08-30 Thread Thomas Jollans
On 30/08/12 11:13, Axel FILMORE wrote: > On 29/08/2012 22:39, Horace Abenga wrote: >> Hi all, >> >> I'm planning on writing a comprehensive GTK+ programming using Vala tutorial >> that will loosely follow the classic GTK+ tutorial >> (http://developer.gnome.org/gtk-tutorial/2.90/). >> >> I've done

Re: [Vala] Getting corrupted results when returning array of strings

2012-08-30 Thread Dennis Möhlmann
Thanks for the help. Key and value both need to accept null, so I think "string?" is required. The issue wasn't value being null but rather that it referenced invalid/freed memory. I usually got two or three random letters instead of my input string along with an occasional "glibc detected *** doub

[Vala] .typelib support in Vala

2012-08-30 Thread Jim Nelson
Last year there was some discussion on the list about Vala's .gir support (https://mail.gnome.org/archives/vala-list/2011-April/msg3.html).  Jürg said that Vala only reads the XML (.gir files) and not the .typelib files. My question is, how should a developer deal with a situation where a li

Re: [Vala] GTK+ Tutorial

2012-08-30 Thread Horace Abenga
Thanks all for the comments, will definitely incorporate them. I will try to work fast, maybe add two new chapters per week if I don't get swamped at work. On 30 August 2012 13:23, Thomas Jollans wrote: > On 30/08/12 11:13, Axel FILMORE wrote: > > On 29/08/2012 22:39, Horace Abenga wrote: > >>

Re: [Vala] .typelib support in Vala

2012-08-30 Thread Evan Nemerson
On Thu, 2012-08-30 at 21:59 -0007, Jim Nelson wrote: > Last year there was some discussion on the list about Vala's .gir > support > (https://mail.gnome.org/archives/vala-list/2011-April/msg3.html). > Jürg said that Vala only reads the XML (.gir files) and not > the .typelib files. > > My que

Re: [Vala] .typelib support in Vala

2012-08-30 Thread Jim Nelson
Thanks for the quick reply, Evan.  To answer some of your questions: Evan Nemerson wrote: Sometimes you may have to install an extra package, but the GIRs should be available. I'll probably open a ticket with Ubuntu about this. You should pass the pkg-config names of whatever dependencies you

Re: [Vala] .typelib support in Vala

2012-08-30 Thread Evan Nemerson
On Thu, 2012-08-30 at 23:13 -0007, Jim Nelson wrote: > Thanks for the quick reply, Evan. To answer some of your questions: > > Evan Nemerson wrote: > > Sometimes you may have to install an extra package, but the GIRs > > should > > be available. > > > I'll probably open a ticket with Ubuntu

Re: [Vala] .typelib support in Vala

2012-08-30 Thread Jim Nelson
On Thu, Aug 30, 2012 at 4:52 PM, Evan Nemerson wrote: Assuming you're talking about GLib, GObject, and Gio, Debian/Ubuntu already distribute the relevant GIRs. They're in libgirepository1.0-dev. I figured that out five minutes ago.  Thanks.  B-) Sorry, what I wrote is /really/ misleading. val