From cf873f3426635aaa63a37c4727778dfb2401828f Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 27 Feb 2020 14:07:12 -0500 Subject: [PATCH] Remove a stray g_object_unref Events are no longer objects, so this does not do any good. Use gdk_event_unref instead. --- gtk/gtkwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index f9e06f2356..65ced5f895 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -2105,7 +2105,7 @@ _gtk_widget_emulate_press (GtkWidget *widget, /* Perform propagation state starting from the next child in the chain */ gtk_propagate_event_internal (event_widget, press, next_child); - g_object_unref (press); + gdk_event_unref (press); } static GdkEvent *