Re: [Vala] Setting image on a button?

2011-05-17 Thread Nicolas Joseph
Hello, Le 16/05/11 à 18:33, Damien Radtke a écrit : I'm trying to add an image to a button, but it doesn't display. I'm loading one of the stock images, and can get it to display fine on its own, but it doesn't show after placed on a button with set_image(). I've also looked into the

Re: [Vala] Setting image on a button?

2011-05-17 Thread Nicolas Joseph
Hello, Le 16/05/11 à 18:33, Damien Radtke a écrit : I'm trying to add an image to a button, but it doesn't display. I'm loading one of the stock images, and can get it to display fine on its own, but it doesn't show after placed on a button with set_image(). I've also looked into the

[Vala] GLib.List

2011-05-17 Thread Jan Spurný
Hi, I'm writing a new library in vala, and that library uses our old library which is written in c. Until now I was able to write VAPI files for everything in the old library, but now I stumbled on a big problem - some functions in the old library returns GLib.List with some dynamicaly

Re: [Vala] GLib.List

2011-05-17 Thread Abderrahim KITOUNI
Hello, 2011/5/17 Jan Spurný jspu...@seznam.cz: Hi, I'm writing a new library in vala, and that library uses our old library which is written in c. Until now I was able to write VAPI files for everything in the old library, but now I stumbled on a big problem - some functions in the old

Re: [Vala] Preprocessing directives in glib-2.0.vapi

2011-05-17 Thread JM
Ok. Thanks. I'll try that. Am Montag, den 16.05.2011, 19:19 +0100 schrieb Abderrahim KITOUNI: Hello, 2011/5/12 JM interfl...@gmx.net: Hello In glib-2.0.vapi the binding for a GMappedFile looks like this: [...] The new unref_function is for glib versions higher than 2.22

Re: [Vala] Gda GdaSet vapi error

2011-05-17 Thread Daniel Espinosa
Bug #639472 was commited. Now libgda-4.2.7 have non-varargs version functions. Is time to update vapi for 4.2, could any say me how to do it using GIR generated file? 2011/1/13 Daniel Espinosa eso...@gmail.com May we need to review GDA's API in order to make it more GObject-Introspection and

[Vala] Copy function produces segmentation fault

2011-05-17 Thread Lewis Gunsch
Hi, I have been writing a Vapi for the ZeroMQ library: http://www.zeromq.org/. I would eventually like it to be distributed with Vala itself, and would propose myself as the maintainer. See the vapi here: https://github.com/lgunsch/zmq-vala/blob/master/libzmq.vapi Although, I am having some

Re: [Vala] Setting image on a button?

2011-05-17 Thread Damien Radtke
Ah, maybe I should've been more clear. It works if the image is the only thing on the button, but I want to have both text and the image, and it doesn't work if the button already has text on it (even if I use image.show()). On Tue, May 17, 2011 at 2:31 AM, Nicolas Joseph