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
985ad1a4
Commit
985ad1a4
authored
Jul 21, 2015
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx/bookmarks: remove explicit singleton
parent
1a5b701e
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
18 deletions
+3
-18
modules/gui/macosx/MainMenu.m
modules/gui/macosx/MainMenu.m
+0
-1
modules/gui/macosx/VLCVoutWindowController.m
modules/gui/macosx/VLCVoutWindowController.m
+3
-3
modules/gui/macosx/bookmarks.h
modules/gui/macosx/bookmarks.h
+0
-2
modules/gui/macosx/bookmarks.m
modules/gui/macosx/bookmarks.m
+0
-12
No files found.
modules/gui/macosx/MainMenu.m
View file @
985ad1a4
...
...
@@ -65,7 +65,6 @@
VLCVideoEffects
*
_videoEffectsWindowController
;
VLCAudioEffects
*
_audioEffectsWindowController
;
VLCTrackSynchronization
*
_trackSynchronizationWindowController
;
VLCBookmarks
*
_bookmarksWindowController
;
VLCConvertAndSave
*
_convertAndSaveWindowController
;
AddonsWindowController
*
_addonsController
;
...
...
modules/gui/macosx/VLCVoutWindowController.m
View file @
985ad1a4
...
...
@@ -599,14 +599,14 @@ void WindowClose(vout_window_t *p_wnd)
NSInteger
currentStatusWindowLevel
=
self
.
currentStatusWindowLevel
;
VLCMain
*
main
=
[
VLCMain
sharedInstance
];
[[
VLCMainWindow
sharedInstance
]
setWindowLevel
:
i_level
];
[[
VLCVideoEffects
sharedInstance
]
updateCocoaWindowLevel
:
currentStatusWindowLevel
];
[[
VLCAudioEffects
sharedInstance
]
updateCocoaWindowLevel
:
currentStatusWindowLevel
];
[[
VLCInfo
sharedInstance
]
updateCocoaWindowLevel
:
currentStatusWindowLevel
];
[[
VLCBookmarks
sharedInstance
]
updateCocoaWindowLevel
:
currentStatusWindowLevel
];
[[
main
bookmarks
]
updateCocoaWindowLevel
:
currentStatusWindowLevel
];
[[
VLCTrackSynchronization
sharedInstance
]
updateCocoaWindowLevel
:
currentStatusWindowLevel
];
[[
[
VLCMain
sharedInstance
]
resumeDialog
]
updateCocoaWindowLevel
:
currentStatusWindowLevel
];
[[
main
resumeDialog
]
updateCocoaWindowLevel
:
currentStatusWindowLevel
];
}
@end
modules/gui/macosx/bookmarks.h
View file @
985ad1a4
...
...
@@ -27,8 +27,6 @@
@interface
VLCBookmarks
:
NSObject
+
(
VLCBookmarks
*
)
sharedInstance
;
/* main window */
@property
(
readwrite
,
weak
)
IBOutlet
NSWindow
*
bookmarksWindow
;
@property
(
readwrite
,
weak
)
IBOutlet
NSButton
*
addButton
;
...
...
modules/gui/macosx/bookmarks.m
View file @
985ad1a4
...
...
@@ -45,18 +45,6 @@
@implementation
VLCBookmarks
+
(
VLCBookmarks
*
)
sharedInstance
{
static
VLCBookmarks
*
sharedInstance
=
nil
;
static
dispatch_once_t
pred
;
dispatch_once
(
&
pred
,
^
{
sharedInstance
=
[
VLCBookmarks
new
];
});
return
sharedInstance
;
}
/*****************************************************************************
* GUI methods
*****************************************************************************/
...
...
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