Remove a stray g_object_unref

Events are no longer objects, so this does not do
any good. Use gdk_event_unref instead.
This commit is contained in:
Matthias Clasen 2020-02-27 14:07:12 -05:00
parent 527a8048b6
commit cf873f3426

View File

@ -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 *