Re: Crashes with long words in strings passed to gtk_widget_set_tooltip_text()
- From: Emmanuel Thomas-Maurin <manutm007 gmail com>
- To: Fabian Keil <freebsd-listen fabiankeil de>
- Cc: gtk-devel-list gnome org
- Subject: Re: Crashes with long words in strings passed to gtk_widget_set_tooltip_text()
- Date: Fri, 22 Apr 2011 19:34:59 +0200
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
http://www.x.org/releases/X11R7.6/doc/xproto/x11protocol.html#requests:CreateWindow),
these values are actually always stored as 16-bit signed int. Hence the
confusion.
I also got this link: http://www.std.org/~msm/common/WhyX.pdf.
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]