undefined struct '_PangoContext'
- From: Tor Lillqvist <tml iki fi>
- To: Himanshu Garg <himanshu garg gmail com>
- Cc: gtk-list gnome org
- Subject: undefined struct '_PangoContext'
- Date: Sat, 18 Jun 2005 13:39:25 +0300
Himanshu Garg writes:
> PangoContext aPangoContext = pango_win32_get_context();
pango_win32_get_context() returns a pointer to a PangoContext, not
such a struct itself. (The PangoContext struct is private to Pango,
you cannot have variables of that type in your code. Only pointers to
them.)
The compiler does give you an error message. Please read what is says.
> PangoLayout aPangoLayout = pango_layout_new(aPangoContext);
Ditto for PangoLayout.
--tml
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]