gdkwindow-wayland: Add a forgotten ref

This commit is contained in:
Jasper St. Pierre 2014-06-19 14:55:04 -04:00
parent 0bbe2589f6
commit b35820fa3c

View File

@ -831,7 +831,7 @@ xdg_surface_close (void *data,
GdkEvent *event;
event = gdk_event_new (GDK_DELETE);
event->any.window = window;
event->any.window = g_object_ref (window);
event->any.send_event = TRUE;
display = gdk_window_get_display (window);