Re: [Vala] Cogl.PangoFontMap is undeclaired



On Thu, 2010-03-11 at 12:46 -0500, Sam Wilson wrote:
I can't seem to get valac to output code that will compile when I am
working with Cogl.PangeFontMap.

The relevant errors:

PixmapThemeEngine.vala:31: error: ‘CoglPangoFontMap’ undeclared (first
use in this function)

Am I forgetting a pkg directive I don't know about?

Thanks,
Sam

In case anyone runs into this problem again, there is a workaround!

In place of Cogl.PangoFontMap, you can use Pango.CairoFontMap, since
PangoFontMap is just an alias for CairoFontMap.

Sam

Attachment: smime.p7s
Description: S/MIME cryptographic signature



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