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
ecfb93fb
Commit
ecfb93fb
authored
Dec 04, 2010
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: return a value in a non-void method
parent
0e65dd77
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
modules/gui/macosx/misc.m
modules/gui/macosx/misc.m
+2
-2
modules/gui/macosx/playlist.m
modules/gui/macosx/playlist.m
+1
-1
No files found.
modules/gui/macosx/misc.m
View file @
ecfb93fb
...
@@ -255,7 +255,7 @@ static NSMutableArray *blackoutWindows = NULL;
...
@@ -255,7 +255,7 @@ static NSMutableArray *blackoutWindows = NULL;
}
}
invoc
=
[
NSInvocation
invocationWithMethodSignature
:[
super
methodSignatureForSelector
:
@selector
(
close
)]];
invoc
=
[
NSInvocation
invocationWithMethodSignature
:[
super
methodSignatureForSelector
:
@selector
(
close
)]];
[
invoc
setTarget
:
(
id
)
super
];
[
invoc
setTarget
:
self
];
if
(
!
[
self
isVisible
]
||
[
self
alphaValue
]
==
0
.
0
)
if
(
!
[
self
isVisible
]
||
[
self
alphaValue
]
==
0
.
0
)
{
{
...
@@ -269,7 +269,7 @@ static NSMutableArray *blackoutWindows = NULL;
...
@@ -269,7 +269,7 @@ static NSMutableArray *blackoutWindows = NULL;
-
(
void
)
orderOut
:
(
id
)
sender
animate
:
(
BOOL
)
animate
-
(
void
)
orderOut
:
(
id
)
sender
animate
:
(
BOOL
)
animate
{
{
NSInvocation
*
invoc
=
[
NSInvocation
invocationWithMethodSignature
:[
super
methodSignatureForSelector
:
@selector
(
orderOut
:)]];
NSInvocation
*
invoc
=
[
NSInvocation
invocationWithMethodSignature
:[
super
methodSignatureForSelector
:
@selector
(
orderOut
:)]];
[
invoc
setTarget
:
(
id
)
super
];
[
invoc
setTarget
:
self
];
[
invoc
setArgument
:
sender
atIndex
:
0
];
[
invoc
setArgument
:
sender
atIndex
:
0
];
[
self
orderOut
:
sender
animate
:
animate
callback
:
invoc
];
[
self
orderOut
:
sender
animate
:
animate
callback
:
invoc
];
}
}
...
...
modules/gui/macosx/playlist.m
View file @
ecfb93fb
...
@@ -706,7 +706,7 @@
...
@@ -706,7 +706,7 @@
inNode
:
(
playlist_item_t
*
)
p_node
inNode
:
(
playlist_item_t
*
)
p_node
checkItemExistence
:(
BOOL
)
b_check
checkItemExistence
:(
BOOL
)
b_check
{
{
[
self
isItem
:
p_item
inNode
:
p_node
checkItemExistence
:
b_check
locked
:
NO
];
return
[
self
isItem
:
p_item
inNode
:
p_node
checkItemExistence
:
b_check
locked
:
NO
];
}
}
/* This method is useful for instance to remove the selected children of an
/* This method is useful for instance to remove the selected children of an
...
...
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