notebook: Remove another event type check

Just like 3d65019e98, but for release
events.
This commit is contained in:
Timm Bäder 2018-02-05 11:16:25 +01:00
parent de6c0037b7
commit c73e22dadb

View File

@ -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;