[Vala] Pango bindings - generated code contains errors?


Using something like


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 ?

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