[Vala] Pango bindings - generated code contains errors?
- From: Jerry Casiano <jerrycasiano gmail com>
- To: vala-list gnome org
- Subject: [Vala] Pango bindings - generated code contains errors?
- Date: Sun, 17 Jul 2011 01:18:54 -0400
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 ?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]