if (inst->cfg.warn_on_close) {
if (!inst->exited && inst->cfg.warn_on_close) {
gint delete_window(GtkWidget *widget, GdkEvent *event, gpointer data){    struct gui_data *inst = (struct gui_data *)data;    if (inst->cfg.warn_on_close) {	if (!reallyclose(inst))	    return TRUE;    }    return FALSE;}