After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 654794 - Pango bindings - not possible to list families?
Pango bindings - not possible to list families?
Status: RESOLVED FIXED
Product: vala
Classification: Core
Component: Bindings
0.12.x
Other All
: Normal blocker
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2011-07-17 20:01 UTC by Jerry Casiano
Modified: 2011-07-17 21:12 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jerry Casiano 2011-07-17 20:01:54 UTC
Gtk.Widget surface = new Window(WindowType.TOPLEVEL);
Pango.Context context = surface.get_pango_context();
Pango.FontFamily[] families;
context.list_families(families);

results in "expected ‘struct PangoFontFamily ***’ but argument is of type ‘struct PangoFontFamily **’" during compilation


No idea how to work around this. :-(
Comment 1 Luca Bruno 2011-07-17 20:35:02 UTC
commit b866dbd7105bd96fd4008cc9b44d2fb402276565
Author: Luca Bruno <lucabru@src.gnome.org>
Date:   Sun Jul 17 22:32:28 2011 +0200

    pango: Mark list_families.families parameter as out in Context and FontMap
    
    Fixes bug 654794.

This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
Comment 2 Jerry Casiano 2011-07-17 21:12:32 UTC
Thank you.