[gtk+] notebook: Remove another event type check



commit c73e22dadbc850080d29c58c3925a8b280056f4e
Author: Timm Bäder <mail baedert org>
Date:   Mon Feb 5 11:16:25 2018 +0100

    notebook: Remove another event type check
    
    Just like 3d65019e98dabc0e2f443d981590983e618dda44, but for release
    events.

 gtk/gtknotebook.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c
index 6591875..c17ddb2 100644
--- a/gtk/gtknotebook.c
+++ b/gtk/gtknotebook.c
@@ -2560,9 +2560,6 @@ gtk_notebook_gesture_released (GtkGestureMultiPress *gesture,
   if (!event)
     return;
 
-  if (gdk_event_get_event_type (event) != GDK_BUTTON_RELEASE)
-    return;
-
   if (priv->pressed_button != button)
     return;
 


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