Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
76103bc4
Commit
76103bc4
authored
Sep 30, 2009
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: remove some dead code
parent
6787c516
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
24 deletions
+0
-24
modules/gui/macosx/intf.m
modules/gui/macosx/intf.m
+0
-24
No files found.
modules/gui/macosx/intf.m
View file @
76103bc4
...
...
@@ -396,30 +396,6 @@ static VLCMain *_o_sharedMainInstance = nil;
because VLCMain is the owner */
if
(
nib_main_loaded
)
return
;
/* check whether the user runs a valid version of OS X */
if
(
MACOS_VERSION
<
10
.
5
f
)
{
NSAlert
*
ourAlert
;
int
i_returnValue
;
NSString
*
o_blabla
;
if
(
MACOS_VERSION
==
10
.
4
f
)
o_blabla
=
_NS
(
"VLC's last release for your OS is the 0.9 series."
);
else
if
(
MACOS_VERSION
==
10
.
3
f
)
o_blabla
=
_NS
(
"VLC's last release for your OS is VLC 0.8.6i, which is prone to known security issues."
);
else
// 10.2 and 10.1, still 3% of the OS X market share
o_blabla
=
_NS
(
"VLC's last release for your OS is VLC 0.7.2, which is highly out of date and prone to "
\
"known security issues. We recommend you to update your Mac to a modern version of Mac OS X."
);
ourAlert
=
[
NSAlert
alertWithMessageText
:
_NS
(
"Your version of Mac OS X is no longer supported"
)
defaultButton:
_NS
(
"Quit"
)
alternateButton:
NULL
otherButton:
NULL
informativeTextWithFormat:
_NS
(
"VLC media player %s requires Mac OS X 10.5 or higher.
\n\n
%@"
),
VLC_Version
(),
o_blabla
];
[
ourAlert
setAlertStyle
:
NSCriticalAlertStyle
];
i_returnValue
=
[
ourAlert
runModal
];
[
NSApp
performSelectorOnMainThread
:
@selector
(
terminate
:)
withObject
:
nil
waitUntilDone
:
NO
];
return
;
}
[
self
initStrings
];
[
o_window
setExcludedFromWindowsMenu
:
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