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



On Sun, Jul 17, 2011 at 01:18:54AM -0400, Jerry Casiano wrote:
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. :-)

Please file a bug report.

-- 
http://www.debian.org - The Universal Operating System



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]