mirror of
https://github.com/softwarejanitor/calvados.git
synced 2024-06-08 04:29:50 +00:00
20 lines
327 B
C
20 lines
327 B
C
|
#include <gtk/gtk.h>
|
||
|
#include <gdk/gdkkeysyms.h>
|
||
|
|
||
|
/*
|
||
|
*
|
||
|
* close_dialog()
|
||
|
*
|
||
|
* Called when closing a dialog
|
||
|
*
|
||
|
*/
|
||
|
void close_dialog(GtkWidget *widget, gpointer data)
|
||
|
{
|
||
|
/* --- Display message --- */
|
||
|
/*g_print("Cancel function goes here.\n");*/
|
||
|
|
||
|
/* --- Close it. --- */
|
||
|
gtk_widget_destroy(GTK_WIDGET(data));
|
||
|
}
|
||
|
|