diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2017-12-19 22:58:51 +0100 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2017-12-19 22:58:51 +0100 |
commit | f93837ceb2a03e03c3ba67098e20bb51c07ccdbe (patch) | |
tree | c064aed5f2cfa3688f1d467602bd1588bbf4c21c /gdk/gdkevents.c | |
parent | 5478bd59bf23acfc8429728a7dfedd65472743ce (diff) | |
download | gtk+-f93837ceb2a03e03c3ba67098e20bb51c07ccdbe.tar.gz |
gdk: Remove leftover variable
This is unused and leaked.
Diffstat (limited to 'gdk/gdkevents.c')
-rw-r--r-- | gdk/gdkevents.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gdk/gdkevents.c b/gdk/gdkevents.c index ab641ba6c6..fb773f5592 100644 --- a/gdk/gdkevents.c +++ b/gdk/gdkevents.c @@ -364,7 +364,6 @@ _gdk_event_queue_handle_motion_compression (GdkDisplay *display) { GList *tmp_list; GList *pending_motions = NULL; - GList *history = NULL; GdkWindow *pending_motion_window = NULL; GdkDevice *pending_motion_device = NULL; GdkEvent *last_motion = NULL; @@ -406,8 +405,6 @@ _gdk_event_queue_handle_motion_compression (GdkDisplay *display) { GList *next = pending_motions->next; - history = g_list_prepend (history, pending_motions->data); - if (last_motion && (last_motion->motion.state & (GDK_BUTTON1_MASK | GDK_BUTTON2_MASK | GDK_BUTTON3_MASK | |