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

Just for clarification:

I've been asking on the xorg mailing list (xorg lists freedesktop org)
and got some useful answers and links: It appears that, despite the fact
xpixmaps widht/height are supposed to be stored as CARD16 (16-bit
unsigned int) (see,
these values are actually always stored as 16-bit signed int. Hence the

I also got this link:

So GTK uses 65535 whereas X uses 32767 in practice and this is
probably not that important anyways.

Emmanuel Thomas-Maurin <manutm007 gmail com>

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