aboutsummaryrefslogtreecommitdiffstats
path: root/src/callbacks.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/callbacks.c')
-rw-r--r--src/callbacks.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/callbacks.c b/src/callbacks.c
index 501ea2e..1e81fba 100644
--- a/src/callbacks.c
+++ b/src/callbacks.c
@@ -340,6 +340,13 @@ void prefs_func(GtkWidget *okbutton, cam_t *cam)
gtk_widget_hide(prefswindow);
}
+gboolean delete_event_prefs_window(GtkWidget *widget, GdkEvent *event,
+ cam_t *cam)
+{
+ prefs_func(widget, cam);
+ return TRUE;
+}
+
void on_quit_activate(GtkMenuItem *menuitem, cam_t *cam)
{
#if GTK_MAJOR_VERSION >= 3

Privacy Policy