changeset 4591:44a552c67021

don't free gdk_events during playlistwin_motion
author Tomasz Mon <desowin@gmail.com>
date Wed, 28 May 2008 15:42:58 +0200
parents df2b2c6810e1
children bc30700268d3
files src/audacious/ui_playlist.c
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/ui_playlist.c	Sun May 25 18:10:08 2008 +0300
+++ b/src/audacious/ui_playlist.c	Wed May 28 15:42:58 2008 +0200
@@ -665,8 +665,6 @@
                    GdkEventMotion * event,
                    gpointer callback_data)
 {
-    GdkEvent *gevent;
-
     /*
      * GDK2's resize is broken and doesn't really play nice, so we have
      * to do all of this stuff by hand.
@@ -685,8 +683,6 @@
     }
     else if (dock_is_moving(GTK_WINDOW(playlistwin)))
         dock_move_motion(GTK_WINDOW(playlistwin), event);
-
-    while ((gevent = gdk_event_get()) != NULL) gdk_event_free(gevent);
 }
 
 static void