Gtting X-windows error while runing gtk application.
- by PP
I have written one gtk application but i am getting following X Windows error while running it:
The program 'TestApp' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
(Details: serial 222 error_code 8 request_code 2 minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
What might be the cause of this error?
I have written this app in GTK+ and C.
Thank,
PP.