From 933467704d5841367e99f5b4980ae0f6cf524dba Mon Sep 17 00:00:00 2001 From: Willy Scheibel Date: Sun, 25 Feb 2024 22:36:30 +0100 Subject: [PATCH] Remove obsolete GTK 4 event --- source/examples/cubescape-gtk4/main.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/source/examples/cubescape-gtk4/main.cpp b/source/examples/cubescape-gtk4/main.cpp index 5a7e92a1..fdd3de42 100644 --- a/source/examples/cubescape-gtk4/main.cpp +++ b/source/examples/cubescape-gtk4/main.cpp @@ -144,7 +144,6 @@ void activate(GtkApplication* app, gpointer /*user_data*/) gtk_window_set_child(GTK_WINDOW(window), GTK_WIDGET(glarea)); - g_signal_connect (G_OBJECT(window), "key_press_event", G_CALLBACK(key_press), NULL); g_signal_connect(G_OBJECT(glarea), "realize", G_CALLBACK(realize), NULL); g_signal_connect(G_OBJECT(glarea), "resize", G_CALLBACK(resize), NULL); g_signal_connect(G_OBJECT(glarea), "render", G_CALLBACK (render), NULL);