undefined struct '_PangoContext'

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

 



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

_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux