* beos/* : do not forgot to destroy the Messages window, so vlc does
authorEric Petit <titer@videolan.org>
Tue, 28 Jan 2003 08:17:26 +0000 (08:17 +0000)
committerEric Petit <titer@videolan.org>
Tue, 28 Jan 2003 08:17:26 +0000 (08:17 +0000)
            lock when exiting
 * missing cvsignores

modules/encoder/.cvsignore [new file with mode: 0644]
modules/encoder/ffmpeg/.cvsignore [new file with mode: 0644]
modules/gui/beos/InterfaceWindow.cpp
modules/gui/beos/MessagesWindow.cpp

diff --git a/modules/encoder/.cvsignore b/modules/encoder/.cvsignore
new file mode 100644 (file)
index 0000000..84c4d6f
--- /dev/null
@@ -0,0 +1,6 @@
+.deps
+.dirstamp
+*.dll
+*.dylib
+*.sl
+*.so
diff --git a/modules/encoder/ffmpeg/.cvsignore b/modules/encoder/ffmpeg/.cvsignore
new file mode 100644 (file)
index 0000000..84c4d6f
--- /dev/null
@@ -0,0 +1,6 @@
+.deps
+.dirstamp
+*.dll
+*.dylib
+*.sl
+*.so
index 4568699..ab992f6 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();
 }
 
 /*****************************************************************************
index 3736bc5..3a52237 100644 (file)
@@ -2,7 +2,7 @@
  * MessagesWindow.cpp: beos interface
  *****************************************************************************
  * Copyright (C) 1999, 2000, 2001 VideoLAN
- * $Id: MessagesWindow.cpp,v 1.2 2003/01/26 08:28:20 titer Exp $
+ * $Id: MessagesWindow.cpp,v 1.3 2003/01/28 08:17:26 titer Exp $
  *
  * Authors: Eric Petit <titer@videolan.org>
  *
@@ -95,6 +95,7 @@ bool MessagesWindow::QuitRequested()
  *****************************************************************************/
 void MessagesWindow::ReallyQuit()
 {
+    Lock();
     Hide();
     Quit();
 }