forked from AuroraMiddleware/gtk
notebook: Remove another event type check
Just like 3d65019e98
, but for release
events.
This commit is contained in:
parent
de6c0037b7
commit
c73e22dadb
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user