aboutsummaryrefslogtreecommitdiffstats
path: root/src/camorama-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/camorama-window.c')
-rw-r--r--src/camorama-window.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/camorama-window.c b/src/camorama-window.c
index 3108660..862f869 100644
--- a/src/camorama-window.c
+++ b/src/camorama-window.c
@@ -254,6 +254,9 @@ void load_interface(cam_t *cam)
gtk_window_set_icon(GTK_WINDOW(window), logo);
gtk_window_set_icon(GTK_WINDOW(prefswindow), logo);
+ g_signal_connect(G_OBJECT(prefswindow), "delete-event",
+ G_CALLBACK(delete_event_prefs_window), cam);
+
g_signal_connect(gtk_builder_get_object(cam->xml, "show_effects"),
"activate", G_CALLBACK(on_show_effects_activate),
cam);

Privacy Policy