gdk/wayland: s/gdk_event_free/g_object_unref/

This commit is contained in:
Carlos Garnacho 2017-10-31 13:36:31 +01:00
parent 3021edc38d
commit b03d3fb268
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -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 ();