[gtk/matthiasc/for-master: 2/8] Silence a compiler warning




commit 66bde8d5b986bbd77d324443cbdc675f5b03dc78
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Sep 28 22:12:31 2020 -0400

    Silence a compiler warning
    
    These variables are not used anymore since
    commit 11e4a4696713bc.

 gtk/gtkeventcontrollerscroll.c | 3 ---
 1 file changed, 3 deletions(-)
---
diff --git a/gtk/gtkeventcontrollerscroll.c b/gtk/gtkeventcontrollerscroll.c
index 8b67f4ca91..261d8bd21e 100644
--- a/gtk/gtkeventcontrollerscroll.c
+++ b/gtk/gtkeventcontrollerscroll.c
@@ -258,9 +258,6 @@ gtk_event_controller_scroll_handle_event (GtkEventController *controller,
   direction = gdk_scroll_event_get_direction (event);
   if (direction == GDK_SCROLL_SMOOTH)
     {
-      GdkDevice *device = gdk_event_get_device (event);
-      GdkInputSource input_source = gdk_device_get_source (device);
-
       gdk_scroll_event_get_deltas (event, &dx, &dy);
 
       if (!scroll->active)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]