Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
ddf73ca0
Commit
ddf73ca0
authored
Feb 24, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gui/macosx/interaction.m: Don't destroy twice the window.
parent
3ab81753
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
7 deletions
+16
-7
modules/gui/macosx/interaction.m
modules/gui/macosx/interaction.m
+16
-7
No files found.
modules/gui/macosx/interaction.m
View file @
ddf73ca0
...
@@ -304,22 +304,31 @@
...
@@ -304,22 +304,31 @@
-
(
void
)
hideDialog
-
(
void
)
hideDialog
{
{
msg_Dbg
(
p_intf
,
"hide event
"
);
msg_Dbg
(
p_intf
,
"hide event
%p"
,
self
);
if
(
p_dialog
->
i_flags
&
DIALOG_USER_PROGRESS
)
if
(
p_dialog
->
i_flags
&
DIALOG_USER_PROGRESS
)
{
if
(
!
[
o_prog_win
isVisible
])
{
{
[
NSApp
endSheet
:
o_prog_win
];
[
NSApp
endSheet
:
o_prog_win
];
[
o_prog_win
close
];
[
o_prog_win
close
];
}
}
}
if
(
p_dialog
->
i_flags
&
DIALOG_LOGIN_PW_OK_CANCEL
)
if
(
p_dialog
->
i_flags
&
DIALOG_LOGIN_PW_OK_CANCEL
)
{
if
(
!
[
o_auth_win
isVisible
])
{
{
[
NSApp
endSheet
:
o_auth_win
];
[
NSApp
endSheet
:
o_auth_win
];
[
o_auth_win
close
];
[
o_auth_win
close
];
}
}
}
if
(
p_dialog
->
i_flags
&
DIALOG_PSZ_INPUT_OK_CANCEL
)
if
(
p_dialog
->
i_flags
&
DIALOG_PSZ_INPUT_OK_CANCEL
)
{
if
(
!
[
o_input_win
isVisible
])
{
{
[
NSApp
endSheet
:
o_input_win
];
[
NSApp
endSheet
:
o_input_win
];
[
o_input_win
close
];
[
o_input_win
close
];
}
}
}
if
(
p_dialog
->
i_flags
&
DIALOG_INTF_PROGRESS
)
if
(
p_dialog
->
i_flags
&
DIALOG_INTF_PROGRESS
)
{
{
[
o_mainIntfPgbar
setIndeterminate
:
YES
];
[
o_mainIntfPgbar
setIndeterminate
:
YES
];
...
...
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