From aa2ca80817aff196ac45f223554ca61ca71458d9 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 28 Mar 2020 14:29:08 -0400 Subject: [PATCH] imcontextsimple: Don't use g_object_unref on events Events are not objects anymore. --- gtk/gtkimcontextsimple.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkimcontextsimple.c b/gtk/gtkimcontextsimple.c index 645f7cd4ca..a96b3f0646 100644 --- a/gtk/gtkimcontextsimple.c +++ b/gtk/gtkimcontextsimple.c @@ -929,7 +929,7 @@ no_sequence_matches (GtkIMContextSimple *context_simple, 0); gtk_im_context_filter_keypress (context, tmp_event); - g_object_unref (tmp_event); + gdk_event_unref (tmp_event); } return gtk_im_context_filter_keypress (context, event);