[pygtk] segmentation fault while using pango
Gian Mario Tagliaretti
gianmt at gnome.org
Thu Jul 31 23:21:57 WST 2008
2008/7/31 Rebecca Rebhuhn-Glanz <rrebhuhnglanz a gmail.com>:
Hi Rebecca,
> pangoText=pango.Layout(pango.Context())
I guess the problem is here, you shouldn't create a pango context but
get the one of the parent widget instead:
http://www.pygtk.org/docs/pygtk/class-gtkwidget.html#method-gtkwidget--get-pango-context
cheers
--
Gian Mario Tagliaretti
GNOME Foundation member
gianmt a gnome.org
More information about the pygtk
mailing list