[gtk/wip/baedert/for-master] surface: remove double assignment
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gtk/wip/baedert/for-master] surface: remove double assignment
- Date: Thu, 30 Apr 2020 08:21:04 +0000 (UTC)
commit 49807e9d09cc6033f453cef4ff3016f8000a996d
Author: Timm Bäder <mail baedert org>
Date:   Thu Apr 30 10:03:00 2020 +0200
    surface: remove double assignment
 gdk/gdksurface.c | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/gdk/gdksurface.c b/gdk/gdksurface.c
index 6c8195523b..26a5fe9e90 100644
--- a/gdk/gdksurface.c
+++ b/gdk/gdksurface.c
@@ -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);
 
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]