]> git.sesse.net Git - vlc/blobdiff - modules/gui/beos/InterfaceWindow.cpp
* beos/* : do not forgot to destroy the Messages window, so vlc does
[vlc] / modules / gui / beos / InterfaceWindow.cpp
index 45686996e391d77e1262168b4e4c502073b9d2a1..ab992f68129e34e473089b3aae54920f3172dcd6 100644 (file)
@@ -2,7 +2,7 @@
  * InterfaceWindow.cpp: beos interface
  *****************************************************************************
  * Copyright (C) 1999, 2000, 2001 VideoLAN
- * $Id: InterfaceWindow.cpp,v 1.23 2003/01/27 10:29:21 titer Exp $
+ * $Id: InterfaceWindow.cpp,v 1.24 2003/01/28 08:17:26 titer Exp $
  *
  * Authors: Jean-Marc Dressler <polux@via.ecp.fr>
  *          Samuel Hocevar <sam@zoy.org>
@@ -234,8 +234,10 @@ InterfaceWindow::InterfaceWindow( BRect frame, const char *name,
 
 InterfaceWindow::~InterfaceWindow()
 {
-    if (fPlaylistWindow)
+    if( fPlaylistWindow )
         fPlaylistWindow->ReallyQuit();
+    if( fMessagesWindow )
+        fMessagesWindow->ReallyQuit();
 }
 
 /*****************************************************************************