Re: [Vala] Vapigen errors?

2009-05-09 Thread Robert Palmqvist
On Sun, May 10, 2009 at 12:05 AM, Robert Palmqvist wrote: > On Sat, May 9, 2009 at 3:45 PM, Jürg Billeter wrote: > >> Hi, >> >> On Sat, 2009-05-09 at 15:06 +0200, Robert Palmqvist wrote: >> > someu...@somehost:~$ vapigen --library libexif libexif/libexif.gi >> > >> > (vapigen:23894): GLib-GObjec

Re: [Vala] How to get the local variables of a method?

2009-05-09 Thread Jürg Billeter
Hi, On Sat, 2009-05-09 at 23:32 +0200, gege2061 wrote: > I continu my learning of the vala parser. > > I seek to get the local variables of a method. I tested > Method.body.get_local_variables() but the list is empty. > > What is the good way? Local variables have block scope, which means that

Re: [Vala] Vapigen errors?

2009-05-09 Thread Jürg Billeter
On Sun, 2009-05-10 at 00:05 +0200, Robert Palmqvist wrote: > On Sat, May 9, 2009 at 3:45 PM, Jürg Billeter wrote: > This looks as if you're mixing vapigen and libvala of > different > versions. Make sure you have only one version installed, > fix /etc/ld.so.conf, an

[Vala] libyaml binding?

2009-05-09 Thread Yu Feng
Dear list, I am wondering if anyone has been working on the vala bindings for libyaml? - Yu ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] Vapigen errors?

2009-05-09 Thread Robert Palmqvist
On Sat, May 9, 2009 at 3:45 PM, Jürg Billeter wrote: > Hi, > > On Sat, 2009-05-09 at 15:06 +0200, Robert Palmqvist wrote: > > someu...@somehost:~$ vapigen --library libexif libexif/libexif.gi > > > > (vapigen:23894): GLib-GObject-WARNING **: cannot register existing > > type `GeeCollectionObject'

[Vala] How to get the local variables of a method?

2009-05-09 Thread gege2061
Hi, I continu my learning of the vala parser. I seek to get the local variables of a method. I tested Method.body.get_local_variables() but the list is empty. What is the good way? -- Nicolas Joseph ___ Vala-list mailing list Vala-list@gnome.org http

Re: [Vala] Gtk.CheckMenuItem activate signal is useless (maybe)

2009-05-09 Thread Харин Роман
Yu Feng пишет: > On Sat, 2009-05-09 at 14:40 +0400, Харин Роман wrote: >> so, its litttle code example: >> >> class MyApp : Window { >> >> private Image main_img; >> >> public MyApp() { >> ... >> item_viewbg = new CheckMenuItem.with_label("Показывать фон"); >> item_viewbg.active = t

Re: [Vala] Vapigen errors?

2009-05-09 Thread Michael 'Mickey' Lauer
On Saturday 09 May 2009 15:38:15 Robert Palmqvist wrote: > > Now you made me curious... which ones? > > I really don't want to point fingers or start a "my language is better than > yours" type of flame war but you asked for it so... My main concerns are > Java and C#. It's not as much the language

Re: [Vala] Gtk.CheckMenuItem activate signal is useless (maybe)

2009-05-09 Thread Yu Feng
On Sat, 2009-05-09 at 14:40 +0400, Харин Роман wrote: > so, its litttle code example: > > class MyApp : Window { > > private Image main_img; > > public MyApp() { > ... > item_viewbg = new CheckMenuItem.with_label("Показывать фон"); > item_viewbg.active = true; > item_viewbg.a

Re: [Vala] Vapigen errors?

2009-05-09 Thread Jürg Billeter
Hi, On Sat, 2009-05-09 at 15:06 +0200, Robert Palmqvist wrote: > someu...@somehost:~$ vapigen --library libexif libexif/libexif.gi > > (vapigen:23894): GLib-GObject-WARNING **: cannot register existing > type `GeeCollectionObject' This looks as if you're mixing vapigen and libvala of different v

Re: [Vala] Vapigen errors?

2009-05-09 Thread Robert Palmqvist
On Sat, May 9, 2009 at 3:17 PM, Michael 'Mickey' Lauer < mic...@vanille-media.de> wrote: > On Saturday 09 May 2009 15:06:59 Robert Palmqvist wrote: > > Hi everyone, this is my first post to this mailing list so let me take > the > > opportunity to thank you all for a new and existing language > >

Re: [Vala] Vapigen errors?

2009-05-09 Thread Michael 'Mickey' Lauer
On Saturday 09 May 2009 15:06:59 Robert Palmqvist wrote: > Hi everyone, this is my first post to this mailing list so let me take the > opportunity to thank you all for a new and existing language Guess you meant "exciting" here ;) > (compared to > some other bloated hogs that never managed to ca

[Vala] Vapigen errors?

2009-05-09 Thread Robert Palmqvist
Hi everyone, this is my first post to this mailing list so let me take the opportunity to thank you all for a new and existing language (compared to some other bloated hogs that never managed to catch my attention even though the rest of the world seems to find it best things since sliced bread)! A

[Vala] Gtk.CheckMenuItem activate signal is useless (maybe)

2009-05-09 Thread Харин Роман
so, its litttle code example: class MyApp : Window { private Image main_img; public MyApp() { ... item_viewbg = new CheckMenuItem.with_label("Показывать фон"); item_viewbg.active = true; item_viewbg.activate.connect(onMenuBackImage); ... } void onMenuBackImage(MenuIte