changeset 2658:726fc9f17902

don't free gdk_events during playlistwin_motion
author Tomasz Mon <desowin@gmail.com>
date Wed, 28 May 2008 15:41:52 +0200
parents 61bd7946c78b
children 503ea4219e17
files src/skins/ui_playlist.c
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/skins/ui_playlist.c	Wed May 28 15:25:09 2008 +0200
+++ b/src/skins/ui_playlist.c	Wed May 28 15:41:52 2008 +0200
@@ -672,8 +672,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.
@@ -692,8 +690,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