void close_settings(void) { LOG(("")); gemtk_wm_remove(settings_guiwin); settings_guiwin = NULL; wind_close(h_aes_win); wind_delete(h_aes_win); h_aes_win = 0; LOG(("Done")); }
static void atari_sslcert_viewer_destroy(struct atari_sslcert_viewer_s * cvwin) { assert(cvwin); assert(cvwin->init); assert(cvwin->window); NSLOG(netsurf, INFO, "cvwin %p", cvwin); if (atari_treeview_is_open(cvwin->tv)) atari_treeview_close(cvwin->tv); wind_delete(gemtk_wm_get_handle(cvwin->window)); gemtk_wm_remove(cvwin->window); cvwin->window = NULL; atari_treeview_delete(cvwin->tv); free(cvwin); NSLOG(netsurf, INFO, "done"); }
void atari_global_history_destroy(void) { if ( atari_global_history.init == false) { return; } if ( atari_global_history.window != NULL ) { if (atari_treeview_is_open(atari_global_history.tv)) atari_global_history_close(); wind_delete(gemtk_wm_get_handle(atari_global_history.window)); gemtk_wm_remove(atari_global_history.window); atari_global_history.window = NULL; atari_treeview_delete(atari_global_history.tv); atari_global_history.init = false; } NSLOG(netsurf, INFO, "done"); }