GNOME Bugzilla – Bug 77566
struct _PangoFontDefinition defined in the wrong place
Last modified: 2004-12-22 21:47:04 UTC
--- pango-font.h~ Sat Feb 23 15:14:20 2002 +++ pango-font.h Wed Apr 3 21:59:53 2002 @@ -94,6 +94,21 @@ * PangoFontDescription */ +struct _PangoFontDescription +{ + char *family_name; + + PangoStyle style; + PangoVariant variant; + PangoWeight weight; + PangoStretch stretch; + + guint16 mask; + guint static_family : 1; + + int size; +}; + #define PANGO_TYPE_FONT_DESCRIPTION (pango_font_description_get_type ()) GType pango_font_description_get_type (void); --- fonts.c~ Mon Mar 25 15:21:16 2002 +++ fonts.c Wed Apr 3 21:59:54 2002 @@ -28,21 +28,6 @@ #include "pango-fontmap.h" #include "pango-utils.h" -struct _PangoFontDescription -{ - char *family_name; - - PangoStyle style; - PangoVariant variant; - PangoWeight weight; - PangoStretch stretch; - - guint16 mask; - guint static_family : 1; - - int size; -}; - GType pango_font_description_get_type (void) {
It is intentionally where it is. The contents of this structure are private and may change in future releases.