Re: Crashes with long words in strings passed to gtk_widget_set_tooltip_text()



> If you really want to safely pass a very long text,
> you will have to know the font (family and size) then check with stuff
> like pango_layout_set_text() and pango_layout_get_pixel_size().

This happened in Gnumeric at some point too.  Basically, every time user
supplied string make it into tooltips, this will happen.  So it's
probably better
to fix this in gtk+.

M.


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