void DeviceBoxCancelEvent() { // ShowWindow(deviceboxwindow, SW_HIDE); DeviceBoxDestroy(); MainBoxRefocus(); return; } // END DeviceBoxCancelEvent()
gint MainBoxCancelEvent(GtkWidget *widget, GdkEvent event, gpointer data) { mainbox.stop = 1; // Halt all long processess... MessageBoxDestroy(); SelectionBoxDestroy(); ProgressBoxDestroy(); ConversionBoxDestroy(); DeviceBoxDestroy(); MainBoxDestroy(); gtk_main_quit(); return(TRUE); } // END MainBoxCancelEvent()