gtk_main()



Hi!

I did a fork. The child makes a loop doing something and the parent
(main thread) does gtk_main(). But when the child quits I get this error

Gdk-ERROR **: BadIDChoice (invalid resource ID chosen for this
connection)
  serial 181 error_code 14 request_code 1 minor_code 0

aborting...
zsh: abort      ./main

The program aborts?
Why do I get this error? The main thread (gtk_main) shouldn't be
affected by the child, should it?

/ Tim
tim@se.linux.org



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]