Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
677963f1
Commit
677963f1
authored
Jan 28, 2003
by
Eric Petit
Browse files
* sanity Lock()s
parent
c5c3a0f0
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/gui/beos/MessagesWindow.cpp
View file @
677963f1
...
...
@@ -2,7 +2,7 @@
* MessagesWindow.cpp: beos interface
*****************************************************************************
* Copyright (C) 1999, 2000, 2001 VideoLAN
* $Id: MessagesWindow.cpp,v 1.
3
2003/01/28
08:17:26
titer Exp $
* $Id: MessagesWindow.cpp,v 1.
4
2003/01/28
10:05:15
titer Exp $
*
* Authors: Eric Petit <titer@videolan.org>
*
...
...
@@ -164,11 +164,13 @@ void MessagesWindow::UpdateMessages()
fMessagesView
->
UnlockLooper
();
/* Scroll at the end */
fScrollBar
->
LockLooper
();
float
min
,
max
;
fScrollBar
->
GetRange
(
&
min
,
&
max
);
fScrollBar
->
SetValue
(
max
);
fScrollBar
->
UnlockLooper
();
if
(
fScrollBar
->
LockLooper
()
)
{
float
min
,
max
;
fScrollBar
->
GetRange
(
&
min
,
&
max
);
fScrollBar
->
SetValue
(
max
);
fScrollBar
->
UnlockLooper
();
}
}
vlc_mutex_lock
(
p_sub
->
p_lock
);
...
...
modules/gui/beos/PreferencesWindow.cpp
View file @
677963f1
...
...
@@ -2,7 +2,7 @@
* PreferencesWindow.cpp: beos interface
*****************************************************************************
* Copyright (C) 1999, 2000, 2001 VideoLAN
* $Id: PreferencesWindow.cpp,v 1.1
0
2003/01/2
7
10:
29:21
titer Exp $
* $Id: PreferencesWindow.cpp,v 1.1
1
2003/01/2
8
10:
05:15
titer Exp $
*
* Authors: Eric Petit <titer@videolan.org>
*
...
...
@@ -206,6 +206,7 @@ void PreferencesWindow::MessageReceived( BMessage * p_message )
*****************************************************************************/
void
PreferencesWindow
::
ReallyQuit
()
{
Lock
();
Hide
();
Quit
();
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment