On Wed, Jul 21, 2010 at 3:47 PM, Harry Van Haaren <[email protected]>wrote:
> 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); > > > Oh, that's even easier :) Add this to your vala file: extern void exit(int exit_code);
_______________________________________________ vala-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/vala-list
