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
e3022222
Commit
e3022222
authored
Aug 06, 2005
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* fix 4 memory leaks introduced in the nib-split, stupid me
parent
96794fa4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
0 deletions
+26
-0
modules/gui/macosx/intf.m
modules/gui/macosx/intf.m
+26
-0
No files found.
modules/gui/macosx/intf.m
View file @
e3022222
...
...
@@ -40,6 +40,7 @@
#include "open.h"
#include "wizard.h"
#include "extended.h"
#include "bookmarks.h"
/*****************************************************************************
* Local prototypes.
...
...
@@ -300,6 +301,7 @@ static VLCMain *_o_sharedMainInstance = nil;
o_open
=
[[
VLCOpen
alloc
]
init
];
o_wizard
=
[[
VLCWizard
alloc
]
init
];
o_extended
=
[[
VLCExtended
alloc
]
init
];
//o_bookmarks = [[VLCBookmarks alloc] init];
i_lastShownVolume
=
-
1
;
return
_o_sharedMainInstance
;
...
...
@@ -424,6 +426,17 @@ static VLCMain *_o_sharedMainInstance = nil;
}
}
-
(
void
)
dealloc
{
[
o_about
release
];
[
o_prefs
release
];
[
o_open
release
];
[
o_extended
release
];
//[o_bookmarks release];
[
super
dealloc
];
}
-
(
void
)
initStrings
{
[
o_window
setTitle
:
_NS
(
"VLC - Controller"
)];
...
...
@@ -530,6 +543,7 @@ static VLCMain *_o_sharedMainInstance = nil;
[
o_mi_controller
setTitle
:
_NS
(
"Controller"
)];
[
o_mi_equalizer
setTitle
:
_NS
(
"Equalizer"
)];
[
o_mi_extended
setTitle
:
_NS
(
"Extended controls"
)];
//[o_mi_bookmarks setTitle: _NS("Bookmarks")];
[
o_mi_playlist
setTitle
:
_NS
(
"Playlist"
)];
[
o_mi_info
setTitle
:
_NS
(
"Info"
)];
[
o_mi_messages
setTitle
:
_NS
(
"Messages"
)];
...
...
@@ -1467,6 +1481,18 @@ static VLCMain *_o_sharedMainInstance = nil;
}
}
/*- (IBAction)showBookmarks:(id)sender
{
if (!nib_bookmarks_loaded)
{
nib_bookmarks_loaded = [NSBundle loadNibNamed:@"Bookmarks" owner:self];
[o_bookmarks initStrings];
[o_bookmarks showPanel];
} else {
[o_bookmarks showPanel];
}
}*/
-
(
IBAction
)
viewAbout
:(
id
)
sender
{
if
(
!
nib_about_loaded
)
...
...
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