mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-15 14:50:06 +00:00
gdk/wayland: s/gdk_event_free/g_object_unref/
This commit is contained in:
parent
3021edc38d
commit
b03d3fb268
@ -129,7 +129,7 @@ _gdk_wayland_drag_context_emit_event (GdkDragContext *context,
|
||||
gdk_event_set_device (event, gdk_drag_context_get_device (context));
|
||||
|
||||
gdk_display_put_event (gdk_window_get_display (window), event);
|
||||
gdk_event_free (event);
|
||||
g_object_unref (event);
|
||||
}
|
||||
|
||||
static GdkWindow *
|
||||
|
@ -123,7 +123,7 @@ gdk_event_source_dispatch (GSource *base,
|
||||
{
|
||||
_gdk_event_emit (event);
|
||||
|
||||
gdk_event_free (event);
|
||||
g_object_unref (event);
|
||||
}
|
||||
|
||||
gdk_threads_leave ();
|
||||
|
Loading…
Reference in New Issue
Block a user