surface: remove double assignment

This commit is contained in:
Timm Bäder 2020-04-30 10:03:00 +02:00
parent 0e73bfa202
commit 27b4b5ee32

View File

@ -3027,7 +3027,6 @@ gdk_surface_get_seat_from_event (GdkSurface *surface,
GdkDevice *device = gdk_event_get_device (event);
GdkSeat *seat = NULL;
device = gdk_event_get_device (event);
if (device)
seat = gdk_device_get_seat (device);