Skip to content
  • daniel_e's avatar
    (on_hide): For safety, transfer ownership of the preferences and about dialogs · e1ea3914
    daniel_e authored
    into local variables, rather than invoking hide() to delete them.  That way
    delete won't be called before hide() actually returned.
    
    (on_about_dialog_hide): Don't use std::auto_ptr<>::reset() but transfer
    ownership into local variables.  I had a look at the libstdc++-v3 headers and
    it gave me the creeps -- reset() deletes _before_ assigning the new pointer.
    
    (on_preferences): ditto.
    e1ea3914