From: gnome-perl (bugzilla.gnome.org) <bug...@bu...> - 2005-10-21 17:48:03
|
Do not reply to this via email (we are currently unable to handle email responses and they get discarded). You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=3D319204 gnome-perl | Gtk2 | Ver: unspecified ------- Additional Comments From Raf D'Halleweyn 2005-10-21 17:47 ------= - I hacked a bit in GdkColor.xs to try to dump the GdkColor structure. I al= so changed the colortest64 script to also output pixel. It looks like the first 64 bits of the GdkColor are being overwritten by = a pointer. This wipes out the pixel, red and green color value. If this is true, that would explain why it works under 32-bit, only pixel= is overwritten. BTW, it looks like the pointer points to 16 bytes beyond the start of the= GdkColor. $ perl ../colortest64 Starting 0x942720: 0000000001010202030300000000000000000000000000000000000000000= 000 0x942720: 0000000001010202030300000000000000000000000000000000000000000= 000 Parsed color: 0x00000000,0x0101,0x0202,0x0303 0x942730: 4027940000000000030396ab0000000000000000000000000303000000000= 000 Color from button (property): 0x00942740,0x0000,0x0000,0x0303 0x942730: 4027940000000000030396ab0000000000000000000000000303000000000= 000 Color from button (property, after set): 0x00942740,0x0000,0x0000,0x0303 0x942730: b8c67700010102020303c4aa0000000000000000000000000303000000000= 000 Color from selection: 0x0077c6b8,0x0101,0x0202,0x0303 0x942730: 4027940000000000030396ab0000000000000000000000000303000000000= 000 Color from selection (property): 0x00942740,0x0000,0x0000,0x0303 0x942730: b8c67700010102020303c4aa0000000000000000000000000303000000000= 000 Color from selection: 0x0077c6b8,0x0101,0x0202,0x0303 0x942730: 4027940000000000030396ab0000000000000000000000000303000000000= 000 Color from selection (property): 0x00942740,0x0000,0x0000,0x0303 ------- You are receiving this mail because: ------- You are the assignee for the bug. |