static void gui_quit(void) { nserror res; LOG("Quitting GUI"); /* Ensure all scaffoldings are destroyed before we go into exit */ nsgtk_download_destroy(); urldb_save_cookies(nsoption_charp(cookie_jar)); urldb_save(nsoption_charp(url_file)); res = nsgtk_cookies_destroy(); if (res != NSERROR_OK) { LOG("Error finalising cookie viewer: %s", messages_get_errorcode(res)); } res = nsgtk_global_history_destroy(); if (res != NSERROR_OK) { LOG("Error finalising global history viewer: %s", messages_get_errorcode(res)); } res = nsgtk_hotlist_destroy(); if (res != NSERROR_OK) { LOG("Error finalising hotlist viewer: %s", messages_get_errorcode(res)); } free(nsgtk_config_home); gtk_fetch_filetype_fin(); }
void gui_quit(void) { LOG(("")); struct gui_window * gw = window_list; struct gui_window * tmp = window_list; while( gw ) { tmp = gw->next; browser_window_destroy(gw->browser->bw); gw = tmp; } global_history_destroy(); hotlist_destroy(); toolbar_exit(); urldb_save_cookies(nsoption_charp(cookie_file)); urldb_save(nsoption_charp(url_file)); deskmenu_destroy(); gemtk_wm_exit(); rsrc_free(); LOG(("Shutting down plotter")); plot_finalise(); LOG(("done")); }
static void gui_quit(void) { LOG("quitting"); struct gui_window *gw = window_list; struct gui_window *tmp = window_list; /* Destroy all remaining browser windows: */ while (gw) { tmp = gw->next; browser_window_destroy(gw->browser->bw); gw = tmp; } /* destroy the treeview windows: */ atari_global_history_destroy(); atari_hotlist_destroy(); atari_cookie_manager_destroy(); /* shutdown the toolbar framework: */ toolbar_exit(); /* save persistent informations: */ urldb_save_cookies(nsoption_charp(cookie_file)); urldb_save(nsoption_charp(url_file)); deskmenu_destroy(); gemtk_wm_exit(); rsrc_free(); LOG("Shutting down plotter"); plot_finalise(); LOG("done"); }
static void gui_quit(void) { urldb_save_cookies(nsoption_charp(cookie_jar)); urldb_save(nsoption_charp(url_file)); //options_save_tree(hotlist,nsoption_charp(hotlist_file),messages_get("TreeHotlist")); free(nsoption_charp(cookie_file)); free(nsoption_charp(cookie_jar)); beos_fetch_filetype_fin(); fetch_rsrc_unregister(); }
void gui_quit(void) { nsgtk_download_destroy(); urldb_save_cookies(nsoption_charp(cookie_jar)); urldb_save(nsoption_charp(url_file)); nsgtk_cookies_destroy(); nsgtk_history_destroy(); nsgtk_hotlist_destroy(); sslcert_cleanup(); free(print_options_file_location); free(search_engines_file_location); free(search_default_ico_location); free(toolbar_indices_file_location); gtk_fetch_filetype_fin(); }
static void gui_quit(void) { LOG("Quitting GUI"); /* Ensure all scaffoldings are destroyed before we go into exit */ nsgtk_download_destroy(); urldb_save_cookies(nsoption_charp(cookie_jar)); urldb_save(nsoption_charp(url_file)); nsgtk_cookies_destroy(); nsgtk_history_destroy(); nsgtk_hotlist_destroy(); free(toolbar_indices_file_location); free(nsgtk_config_home); gtk_fetch_filetype_fin(); }