Re: [Vala] GtkBuilder example ... bug?

2009-11-28 Thread Jiří Zárevúcky
I just realized I didn't send this mail to the mailing list. Sorry about that. Jakub Klawiter píše v So 28. 11. 2009 v 23:00 +0100: > Hello! > > On Sat, Nov 28, 2009 at 21:53, Jakub Klawiter wrote: > > > > so probably there is, a bug in example code. Can I ask where? ;-) > > Maybe it is not a

Re: [Vala] GtkBuilder example ... bug?

2009-11-28 Thread Jiří Zárevúcky
Jakub Klawiter píše v Ne 29. 11. 2009 v 01:31 +0100: > Hello! > > Ok understand how it's working, thank you! > I don't understand why (compiler forces me to use different names i > like), but it's not a problem now. I'll understand it later (hope :D). > (I assume you are still talking about meth

Re: [Vala] GtkBuilder example ... bug?

2009-11-28 Thread Jakub Klawiter
Hello! Ok understand how it's working, thank you! I don't understand why (compiler forces me to use different names i like), but it's not a problem now. I'll understand it later (hope :D). same in case: int buf_size = 5; uchar[] buf = new uchar[ buf_size ]; which is not working becaus

Re: [Vala] CCode array length field name

2009-11-28 Thread pHilipp Zabel
On Sat, Nov 28, 2009 at 11:31 PM, aaron andersen wrote: > Didn't see anything quickly browsing through the regular spots... maybe > someone here can help me out. > > Binding for a vapi. > > c struct: > > struct SomeStruct { > uint8 *data; > size_t dataLength; > }; > > vapi binding: > > public clas

[Vala] CCode array length field name

2009-11-28 Thread aaron andersen
Didn't see anything quickly browsing through the regular spots... maybe someone here can help me out. Binding for a vapi. c struct: struct SomeStruct { uint8 *data; size_t dataLength; }; vapi binding: public class SomeStruct { [CCode (array_param_name?...)] // what should this be ? uint8[] dat

Re: [Vala] GtkBuilder example ... bug?

2009-11-28 Thread Jakub Klawiter
Hello! On Sat, Nov 28, 2009 at 21:53, Jakub Klawiter wrote: > so probably there is, a bug in example code. Can I ask where? ;-) Maybe it is not a bug in example but in vala? In .c code generated by vala signal handlers are called as: void my_bar_on_button1_clicked (GtkButton* source, MyBar* s

[Vala] GtkBuilder example ... bug?

2009-11-28 Thread Jakub Klawiter
Hello! Newbie has a problem ;-) Gtkbuilder example: http://live.gnome.org/Vala/GTKSample#head-e558b6b451800cf5547de009be1435b7f90d8d37 I do want to put signal handlers in separate class, so i did described changes, and now example looks like this: http://www.nopaste.pl/iaf but it's not working be