diff audacious/mainwin.c @ 192:0ee0b9b6db7e trunk

[svn] headless now working, use --headless if you wish to experiment.
author nenolod
date Mon, 14 Nov 2005 23:43:39 -0800
parents 022d9717476f
children b3b2fc5c8fe9
line wrap: on
line diff
--- a/audacious/mainwin.c	Mon Nov 14 23:13:44 2005 -0800
+++ b/audacious/mainwin.c	Mon Nov 14 23:43:39 2005 -0800
@@ -900,6 +900,9 @@
 void
 mainwin_disable_seekbar(void)
 {
+    if (!mainwin)
+        return;
+
     /*
      * We dont call draw_main_window() here so this will not
      * remove them visually.  It will only prevent us from sending