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
9643263b
Commit
9643263b
authored
Apr 20, 2009
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean up (with a little help from clang)
parent
bb4b4910
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
7 deletions
+3
-7
modules/control/unimotion.c
modules/control/unimotion.c
+0
-5
modules/gui/macosx/prefs_widgets.h
modules/gui/macosx/prefs_widgets.h
+2
-1
modules/gui/macosx/simple_prefs.m
modules/gui/macosx/simple_prefs.m
+1
-1
No files found.
modules/control/unimotion.c
View file @
9643263b
...
@@ -189,13 +189,8 @@ static int probe_sms(int kernFunc, char *servMatch, int dataType, void *data)
...
@@ -189,13 +189,8 @@ static int probe_sms(int kernFunc, char *servMatch, int dataType, void *data)
memset
(
&
inputStructure
,
0
,
sizeof
(
union
motion_data
));
memset
(
&
inputStructure
,
0
,
sizeof
(
union
motion_data
));
memset
(
outputStructure
,
0
,
sizeof
(
union
motion_data
));
memset
(
outputStructure
,
0
,
sizeof
(
union
motion_data
));
#ifdef __LP64__
result
=
IOConnectCallStructMethod
(
dataPort
,
kernFunc
,
&
inputStructure
,
result
=
IOConnectCallStructMethod
(
dataPort
,
kernFunc
,
&
inputStructure
,
structureInputSize
,
outputStructure
,
&
structureOutputSize
);
structureInputSize
,
outputStructure
,
&
structureOutputSize
);
#else
result
=
IOConnectMethodStructureIStructureO
(
dataPort
,
kernFunc
,
structureInputSize
,
&
structureOutputSize
,
&
inputStructure
,
outputStructure
);
#endif
IOServiceClose
(
dataPort
);
IOServiceClose
(
dataPort
);
...
...
modules/gui/macosx/prefs_widgets.h
View file @
9643263b
...
@@ -27,6 +27,8 @@
...
@@ -27,6 +27,8 @@
#define LEFTMARGIN 18
#define LEFTMARGIN 18
#define RIGHTMARGIN 18
#define RIGHTMARGIN 18
static
NSMenu
*
o_keys_menu
=
nil
;
@interface
VLCConfigControl
:
NSView
@interface
VLCConfigControl
:
NSView
{
{
module_config_t
*
p_item
;
module_config_t
*
p_item
;
...
@@ -51,7 +53,6 @@
...
@@ -51,7 +53,6 @@
-
(
void
)
applyChanges
;
-
(
void
)
applyChanges
;
-
(
int
)
labelSize
;
-
(
int
)
labelSize
;
-
(
void
)
alignWithXPosition
:(
int
)
i_xPos
;
-
(
void
)
alignWithXPosition
:(
int
)
i_xPos
;
static
NSMenu
*
o_keys_menu
=
nil
;
+
(
int
)
calcVerticalMargin
:
(
int
)
i_curItem
lastItem
:(
int
)
i_lastItem
;
+
(
int
)
calcVerticalMargin
:
(
int
)
i_curItem
lastItem
:(
int
)
i_lastItem
;
...
...
modules/gui/macosx/simple_prefs.m
View file @
9643263b
...
@@ -315,7 +315,7 @@ create_toolbar_item( NSString * o_itemIdent, NSString * o_name, NSString * o_des
...
@@ -315,7 +315,7 @@ create_toolbar_item( NSString * o_itemIdent, NSString * o_name, NSString * o_des
NSMenuItem
*
mi
;
NSMenuItem
*
mi
;
if
(
p_item
->
ppsz_list_text
!=
NULL
)
if
(
p_item
->
ppsz_list_text
!=
NULL
)
mi
=
[[
NSMenuItem
alloc
]
initWithTitle
:
_NS
(
p_item
->
ppsz_list_text
[
i
]
)
action
:
NULL
keyEquivalent
:
@""
];
mi
=
[[
NSMenuItem
alloc
]
initWithTitle
:
_NS
(
p_item
->
ppsz_list_text
[
i
]
)
action
:
NULL
keyEquivalent
:
@""
];
else
if
(
p_item
->
ppsz_list
[
i
]
&&
p_item
->
ppsz_list
[
i
]
==
""
)
else
if
(
p_item
->
ppsz_list
[
i
]
&&
strcmp
(
p_item
->
ppsz_list
[
i
],
""
)
==
0
)
{
{
[[
object
menu
]
addItem
:
[
NSMenuItem
separatorItem
]];
[[
object
menu
]
addItem
:
[
NSMenuItem
separatorItem
]];
continue
;
continue
;
...
...
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