Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
ae7b7ece
Commit
ae7b7ece
authored
Sep 11, 2013
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: minor code cleanup
parent
2d4b2ba4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
10 deletions
+11
-10
modules/gui/macosx/bookmarks.m
modules/gui/macosx/bookmarks.m
+11
-10
No files found.
modules/gui/macosx/bookmarks.m
View file @
ae7b7ece
...
@@ -367,17 +367,18 @@ clear:
...
@@ -367,17 +367,18 @@ clear:
if
(
!
p_input
)
if
(
!
p_input
)
return
0
;
return
0
;
else
if
(
input_Control
(
p_input
,
INPUT_GET_BOOKMARKS
,
&
pp_bookmarks
,
&
i_bookmarks
)
!=
VLC_SUCCESS
)
{
int
returnValue
=
input_Control
(
p_input
,
INPUT_GET_BOOKMARKS
,
&
pp_bookmarks
,
&
i_bookmarks
);
vlc_object_release
(
p_input
);
vlc_object_release
(
p_input
);
if
(
returnValue
!=
VLC_SUCCESS
)
return
0
;
return
0
;
}
else
{
vlc_object_release
(
p_input
);
// Clear the bookmark list
for
(
int
i
=
0
;
i
<
i_bookmarks
;
i
++
)
for
(
int
i
=
0
;
i
<
i_bookmarks
;
i
++
)
vlc_seekpoint_Delete
(
pp_bookmarks
[
i
]);
vlc_seekpoint_Delete
(
pp_bookmarks
[
i
]);
free
(
pp_bookmarks
);
free
(
pp_bookmarks
);
return
i_bookmarks
;
return
i_bookmarks
;
}
}
}
-
(
id
)
tableView
:(
NSTableView
*
)
theDataTable
objectValueForTableColumn
:
(
NSTableColumn
*
)
theTableColumn
row
:
(
NSInteger
)
row
-
(
id
)
tableView
:(
NSTableView
*
)
theDataTable
objectValueForTableColumn
:
(
NSTableColumn
*
)
theTableColumn
row
:
(
NSInteger
)
row
...
...
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