On Wed, 2010-07-21 at 23:47 +0100, Harry Van Haaren 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);
> 

exit is bound as Posix.exit. There is also Posix.abort and Posix._exit.

> 
> 
> Thanks, -Harry
> 
> On Wed, Jul 21, 2010 at 11:42 PM, Robert Powell <[email protected]> wrote:
> 
> >
> >
> > On Wed, Jul 21, 2010 at 3:32 PM, Harry Van Haaren 
> > <[email protected]>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
> >
> _______________________________________________
> vala-list mailing list
> [email protected]
> http://mail.gnome.org/mailman/listinfo/vala-list


_______________________________________________
vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to