[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gtk-app-devel
Subject:    runtime error only on linux
From:       yoann toussaint <yoann.toussaint () free ! fr>
Date:       2002-05-31 10:29:25
[Download RAW message or body]

sorry for submit code in gtkada, I don't if it would be appreciated, but 
I think I have found a bug which occurs only on linux (on windows it 
works for strange reason), so I made a simple example (bug_example in 
attachment) to show why I think this is bug in implementation of gtk 
library (or gtkada) on linux and not in my application.
this example compile successfully, but at run time the error occurs :

Gdk-ERROR **: BadMatch (invalid parameter attributes)
 serial 274 error_code 8 request_code 73 minor_code 0

the code line which when I get the gdk_image from the drawing_area :

file window_pkg.adb, line 27 : 
Gdk.Image.Get(main_window.image,Win,0,0,Width,height);

initially this code was generated by glade and the aim is getting a 
gdk_image from a gtk_drawing to get the color of the pixel at 
coordinates x,y

thanks to feedback on that topic,
yoann

["bug_example.tar.gz" (application/gzip)]
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic