Re: [Vala] exit() ? quit() ?



Cheers, but unfortunatly, I dont have a main loop running at the time.

Using Gtk.main_quit() in that spot just returns a:
(main:10988): Gtk-CRITICAL **: gtk_main_quit: assertion `main_loops != NULL'
failed
while the program keeps running...

I'm looking for the C function:

exit(-1);


Thanks, -Harry

On Wed, Jul 21, 2010 at 11:42 PM, Robert Powell <rob yorba org> wrote:



On Wed, Jul 21, 2010 at 3:32 PM, Harry Van Haaren <harryhaaren gmail com>wrote:

Hey all,

Very simple question: Im looking for a "quit()" function, or "exit()".


Gtk.main_quit may do what you want.

Hope that helps.

Rob



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