summaryrefslogtreecommitdiff
path: root/plugins/gtkui/interface.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/gtkui/interface.c')
-rw-r--r--plugins/gtkui/interface.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/gtkui/interface.c b/plugins/gtkui/interface.c
index e8dc2e3b..7338c732 100644
--- a/plugins/gtkui/interface.c
+++ b/plugins/gtkui/interface.c
@@ -553,9 +553,9 @@ create_mainwin (void)
gtk_widget_show (statusbar);
gtk_box_pack_start (GTK_BOX (vbox1), statusbar, FALSE, FALSE, 0);
- g_signal_connect ((gpointer) mainwin, "key_press_event",
- G_CALLBACK (on_mainwin_key_press_event),
- NULL);
+ g_signal_connect_after ((gpointer) mainwin, "key_press_event",
+ G_CALLBACK (on_mainwin_key_press_event),
+ NULL);
g_signal_connect ((gpointer) mainwin, "delete_event",
G_CALLBACK (on_mainwin_delete_event),
NULL);