Re: [Vala] Pango bindings - generated code contains errors?

2011-07-17 Thread Jerry Casiano
On Sun, 2011-07-17 at 08:23 +0200, Luca Bruno wrote:
 
 Please file a bug report.
 

Done.

https://bugzilla.gnome.org/show_bug.cgi?id=654785

Thanks.

___
vala-list mailing list
vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list


Re: [Vala] Pango bindings - generated code contains errors?

2011-07-17 Thread Jerry Casiano
On Sun, 2011-07-17 at 08:23 +0200, Luca Bruno wrote:

Thanks for the quick response and fix.


Unfortunately I seem to have hit another bug?

https://bugzilla.gnome.org/show_bug.cgi?id=654794


If I'm doing something wrong or anyone knows a way to workaround this,
please share. I'd like to avoid extern as much as possible.

___
vala-list mailing list
vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list


[Vala] Pango bindings - generated code contains errors?

2011-07-16 Thread Jerry Casiano
Hello,

Using something like

Pango.Language.from_string(xx).get_sample_string();

results in undefined reference to `pango_language_free'


I looked, sure enough that function doesn't exist, unless it is a recent
addition. The docs on my system say it should not be freed.


I got around it by doing

Language * lang = Language.from_string(xx);
return lang-get_sample_string();


Being a total newbie I'm not sure if I'm just doing something silly here
or if this is a bug so I figured I'd ask here before filing. :-)

If it is a bug, maybe it's related to commit
5d6c21cebd3c5a4fdbf50cfa780729ba863c2909 ?

___
vala-list mailing list
vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list