changeset 238:580529c7e0c5 trunk

[svn] Add gdk_flush() to widget_draw_quick().
author nenolod
date Sat, 26 Nov 2005 19:04:04 -0800
parents 02c17a5c99e3
children ac4c3da7c263
files audacious/playlistwin.c audacious/widget.c
diffstat 2 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/audacious/playlistwin.c	Sat Nov 26 18:28:19 2005 -0800
+++ b/audacious/playlistwin.c	Sat Nov 26 19:04:04 2005 -0800
@@ -534,10 +534,6 @@
     playlistwin_set_mask();
 
     draw_playlist_window(TRUE);
-
-    /* force a playlist redraw */
-    widget_draw(WIDGET(playlistwin_list));
-    widget_draw(WIDGET(playlistwin_slider));
 }
 
 static void
--- a/audacious/widget.c	Sat Nov 26 18:28:19 2005 -0800
+++ b/audacious/widget.c	Sat Nov 26 19:04:04 2005 -0800
@@ -127,7 +127,10 @@
 {
     widget_lock(widget);
     if (WIDGET(widget)->draw != NULL)
+    {
 	WIDGET(widget)->draw(widget);
+        gdk_flush();
+    }
     widget_unlock(widget);
 }