[gtk+] notebook: Remove another event type check
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] notebook: Remove another event type check
- Date: Tue, 6 Feb 2018 08:25:38 +0000 (UTC)
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]