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 <[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

Reply via email to