diff src/audacious/playlist.c @ 3197:5dd8bc77a590 trunk

now "hide seekbar on streaming" uses message passing.
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Wed, 01 Aug 2007 13:55:02 +0900
parents 8775dfc57ead
children 764e8f87c186
line wrap: on
line diff
--- a/src/audacious/playlist.c	Mon Jul 30 20:42:40 2007 +0900
+++ b/src/audacious/playlist.c	Wed Aug 01 13:55:02 2007 +0900
@@ -1037,6 +1037,10 @@
     PlaylistEventInfoChange *msg;
     gchar *text;
 
+    if(length == -1) {
+        event_queue("hide seekbar", (gpointer)0xdeadbeef); // event_queue hates NULL --yaz
+    }
+
     g_return_if_fail(playlist != NULL);
 
     if (playlist->position) {