/* Called when the dialog box is to be deleted. Set the "stop" flag to TRUE, and return TRUE - we don't want the dialog box deleted now, our caller will do so when they see that the "stop" flag is TRUE and abort the operation.  */
static gboolean delete_event_cb(GtkWidget *w _U_, GdkEvent *event _U_, gpointer data)
/* Called when the dialog box is to be deleted. Set the "stop" flag to TRUE, and return TRUE - we don't want the dialog box deleted now, our caller will do so when they see that the "stop" flag is TRUE and abort the operation.  */
static gboolean delete_event_cb(GtkWidget *w _U_, GdkEvent *event _U_, gpointer data)
{
    gboolean *stop_flag = (gboolean *) data;
    *stop_flag = TRUE;
    return TRUE;
}