> Is it a problem to go ahead and exit after gtk_main_quit returns? I
I believe it is. gtk_main_quit just sets a flag which ensures
the current iteration of gtk_main will be the last. But I
believe you are supposed to let that iteration run its
course, in case there are other callbacks or exit handlers
to run.
> OK, I'm happy to entertain this as a possible improvement, but we have
> to be careful to handle all the right cases (or change the rest of the
> code to conform with whatever new semantics we agree on). Right now
> it's expected that these things be true:
>
> 1) gnc_shutdown and gnc:shutdown should be interchangable.
>
> 2) They exits the program with the given status after calling any
> shutdown hooks (if guile is initialized).
Would any of those shutdown hooks need the ui?
dave
--
Gnucash Developer's List
To unsubscribe send empty email to: [EMAIL PROTECTED]