[Vala] Binding a function that return a structure, not a pointer

2010-04-10 Thread Darren Warner
I'm creating a vapi for libexif (using vala-gen-introspect) which includes a function that returns a structure: typedef struct {ExifLong numerator; ExifLong denominator; }ExifRational; ExifRational exif_get_rational (const unsigned char *b, ExifByteOrder order); If I don't alter ExifRatio

Re: [Vala] POP3/IMAP integration?

2010-04-10 Thread Darren Warner
Many thanks Fredick - I'm now retrieving email! -Darren On 04/09/2010 04:13 PM, Frederik wrote: Am 09.04.2010 23:45, Darren Warner wrote: Hello all, Just reaching out to see if anyone has used Vala to retrieve email (either pull from POP3/IMAP or as an MTA). I'm looking at binding UWMAP

[Vala] Issue with TypeInterface in a gir file

2010-04-10 Thread Emmanuel Pacaud
Hi, I'm developing a gobject based library, in C, which already has gobject-introspection support. http://git.gnome.org/browse/aravis/commit/ I'm now trying to write a simple test of the introspection support, using vala (0.7.10). The valac command line looks like this: /usr/bin/valac --girdi

[Vala] New version of val(a)ide from vala-team ppa doesn't work well.

2010-04-10 Thread Arkadi Viner
Hi, I have downloaded the latest updates for my Ubuntu Lucid and Val(a)ide was updated to version 0.7 and valac to version 0.8. My problem is that Val(a)ide doesn't work well after those updates. 1. When I click on some source file from the project tree, I see it twice (in two separated text boxes)

Re: [Vala] Signals with the same name as a signal in a base type are not supported

2010-04-10 Thread Adi Roiban
On Thu, 2010-04-08 at 07:38 -0500, Sandino Flores Moreno wrote: > I think the real question is: > Does GObject allow same signal redefinition? > > Personally, I don't think it's supported, but I don't really know. Since signals are always something "abstract" and they don't require any implementa