[Vala] setting this.window from Gtk.Widget subclass is not allowed?

2009-06-12 Thread Ali Afshar
Hi everyone, nice work with Vala, I am quite excited. I am not sure whether this is a bug or not, but when I follow the custom widget examples on http://live.gnome.org/Vala/CustomWidgetSamples, in the final example, which set's this.window (which seems right for gtk+ and is needed later by

Re: [Vala] Help with generating headers. Forward declaration?

2009-06-12 Thread Jürg Billeter
On Thu, 2009-06-11 at 22:27 -0400, Sam Danielson wrote: I have a convenience library written in Vala so I need to generate headers. There are a few circular dependencies and adding the -H switch to valac causes something like this. libsqlpilot/flight.vala:8.10-8.17: error: The type name

Re: [Vala] Val(a)IDE 0.5 - IDE for Vala

2009-06-12 Thread Andre Osku Schmidt
as i get some french (a language that i dont know) error mails from google when i try to post on valide-users mailing list, ill try here... o...@klotz:~/Code/valide-0.5.0$ sh apply_patches.sh apply_patches.sh: 8: [[: not found patching file vapi/gtk+-2.0.vapi Hunk #1 succeeded at 4730 (offset 3

Re: [Vala] Val(a)IDE 0.5 - IDE for Vala

2009-06-12 Thread Nicolas Joseph
2009/6/12 Andre Osku Schmidt andre.osku.schm...@osku.de: but i see we still have to patch system files... any progress on avoiding this ? Currently, I have reported all bugs: http://bugzilla.gnome.org/show_bug.cgi?id=536480 http://bugzilla.gnome.org/show_bug.cgi?id=559647

Re: [Vala] Val(a)IDE 0.5 - IDE for Vala

2009-06-12 Thread Nicolas Joseph
2009/6/12 Andre Osku Schmidt andre.osku.schm...@osku.de: as i get some french (a language that i dont know) error mails from google when i try to post on valide-users mailing list, ill try here... I have changed the default language of the group. I have a problem with the configuration, you

Re: [Vala] Help with generating headers. Forward declaration?

2009-06-12 Thread Sam Danielson
On Fri, Jun 12, 2009 at 3:41 AM, qnullinterfl...@gmx.net wrote: Not only you have to add -H, but also the name of the .h file: valac ... -H foo.h ... maybe you also have to add the path for the .h file The -H option works. I omitted the argument to -H and that was causing my first source file

Re: [Vala] Help with generating headers. Forward declaration?

2009-06-12 Thread qnull
yw, qnull Am Freitag, den 12.06.2009, 11:44 -0400 schrieb Sam Danielson: On Fri, Jun 12, 2009 at 3:41 AM, qnullinterfl...@gmx.net wrote: Not only you have to add -H, but also the name of the .h file: valac ... -H foo.h ... maybe you also have to add the path for the .h file The -H

Re: [Vala] Val(a)IDE 0.5 - IDE for Vala

2009-06-12 Thread Nicolas Joseph
The problem is fixed: the path for vala is removed. Instead of the patch, I wrote a vapi file. This is not the best solution, but it is better (c'est moins pire, in french). 2009/6/12 Sam Liddicott s...@liddicott.com: * Nicolas Joseph wrote, On 12/06/09 12:11: 2009/6/12 Andre Osku Schmidt

Re: [Vala] setting this.window from Gtk.Widget subclass is not allowed?

2009-06-12 Thread Jürg Billeter
On Fri, 2009-06-12 at 10:02 +0100, Ali Afshar wrote: Hi everyone, nice work with Vala, I am quite excited. I am not sure whether this is a bug or not, but when I follow the custom widget examples on http://live.gnome.org/Vala/CustomWidgetSamples, in the final example, which set's

Re: [Vala] setting this.window from Gtk.Widget subclass is not allowed?

2009-06-12 Thread qnull
Hello Jürg Shouldn't the function public Window (Gdk.Window parent, Gdk.WindowAttr attributes, int attributes_mask); be public Window (Gdk.Window? parent, Gdk.WindowAttr attributes, int attributes_mask); parent window can be null. cheers Am Freitag, den 12.06.2009, 23:19 +0200 schrieb Jürg

Re: [Vala] DBUS : Must add the signal with dbus_g_proxy_add_signal()

2009-06-12 Thread Enrique Ocaña González
El Friday 15 May 2009 16:01:00 Frédéric Gaudy escribió: I try to connect a call back to DBus.Object signal I've got this warning : WARNING **: Must add the signal 'net-sf-Cameleon-Service-conversion_completed' with dbus_g_proxy_add_signal() prior to connecting to it [...] The signal