Re: exit program on notification



Michal ROMAN <michal roman nov sk> writes:
What am I dooing wrong?

If you just want to exit, call exit(), not gtk_main_quit().

To quit all main loops you would do:

 while (gtk_main_level ())
  gtk_main_quit ();

but it's a pretty bad hack.

Havoc




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