Problem with gdk crossing mode
- From: Dov Grobgeld <dov Orbotech COM>
- To: gtk-devel-list gnome org
- Subject: Problem with gdk crossing mode
- Date: Tue, 8 May 2001 14:13:34 +0300
Hello,
I found one problem that caused the Gtk Perl extension to croak and
die with the following error message:
Invalid value 32 for GdkCrossingMode
The strange thing is that this problem happened only on one specific
configuration of a Sun computer after I had run some other program.
It happened when I tried to drag an object on the Gnome Canvas.
I managed to workaround this problem with no visible side effects
by applying the following ugly patch in Gtk/GdkTypes.c :
< hv_store(h, "mode", 4, newSVGdkCrossingMode(e->crossing.mode), 0);
> hv_store(h, "mode", 4, newSVGdkCrossingMode(e->crossing.mode%3), 0);
This is obviously not the way to do it... The real problem is that
gdk returned a crossing mode that is outside its enum range. Why
did this happen? And what is the proper perl way of dealing with
this?
This happened with gtk version 1.2.8 .
Regards,
--
___
Dov Grobgeld | Email: dov orbotech com /+ \ PCB
Algorithms Group Leader, Orbotech | Phone: +972-8-9423882 \ +/ AOI
POB 215, Yavne 81102, Israel | Fax: +972-8-9423775 __| |
Disclaimer: All views above are mine alone. ____|
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]