[gtk] window: Remove some leftover event code
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] window: Remove some leftover event code
- Date: Sat, 3 Aug 2019 12:46:54 +0000 (UTC)
commit b2e94f81cf4356aea539f7bc0897517b137fa789
Author: Timm Bäder <mail baedert org>
Date: Thu Aug 1 16:26:43 2019 +0200
window: Remove some leftover event code
gtk/gtkwindow.c | 8 --------
1 file changed, 8 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index bda39f9156..2dc6735a76 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -1470,16 +1470,8 @@ drag_gesture_begin_cb (GtkGestureDrag *gesture,
gdouble y,
GtkWindow *window)
{
- GdkEventSequence *sequence;
GtkWindowRegion region;
gboolean widget_drag = FALSE;
- const GdkEvent *event;
-
- sequence = gtk_gesture_single_get_current_sequence (GTK_GESTURE_SINGLE (gesture));
- event = gtk_gesture_get_last_event (GTK_GESTURE (gesture), sequence);
-
- if (!event)
- return;
region = get_active_region_type (window, x, y);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]