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
5f2f3793
Commit
5f2f3793
authored
Feb 19, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove useless struct hotkey.i_action
parent
a83cf23f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
3 deletions
+0
-3
include/vlc_keys.h
include/vlc_keys.h
+0
-1
src/config/keys.c
src/config/keys.c
+0
-2
No files found.
include/vlc_keys.h
View file @
5f2f3793
...
@@ -207,7 +207,6 @@ VLC_EXPORT( vlc_key_t, vlc_GetActionId, (const char *psz_key) ) LIBVLC_USED;
...
@@ -207,7 +207,6 @@ VLC_EXPORT( vlc_key_t, vlc_GetActionId, (const char *psz_key) ) LIBVLC_USED;
struct
hotkey
struct
hotkey
{
{
const
char
*
psz_action
;
const
char
*
psz_action
;
vlc_key_t
i_action
;
};
};
#endif
#endif
src/config/keys.c
View file @
5f2f3793
...
@@ -447,7 +447,6 @@ struct vlc_actions *vlc_InitActions (libvlc_int_t *libvlc)
...
@@ -447,7 +447,6 @@ struct vlc_actions *vlc_InitActions (libvlc_int_t *libvlc)
}
}
#endif
#endif
keys
->
psz_action
=
actions
[
i
].
name
;
keys
->
psz_action
=
actions
[
i
].
name
;
keys
->
i_action
=
actions
[
i
].
value
;
keys
++
;
keys
++
;
char
name
[
12
+
MAXACTION
];
char
name
[
12
+
MAXACTION
];
...
@@ -458,7 +457,6 @@ struct vlc_actions *vlc_InitActions (libvlc_int_t *libvlc)
...
@@ -458,7 +457,6 @@ struct vlc_actions *vlc_InitActions (libvlc_int_t *libvlc)
}
}
keys
->
psz_action
=
NULL
;
keys
->
psz_action
=
NULL
;
keys
->
i_action
=
0
;
libvlc
->
p_hotkeys
=
as
->
keys
;
libvlc
->
p_hotkeys
=
as
->
keys
;
var_AddCallback
(
obj
,
"key-pressed"
,
vlc_key_to_action
,
&
as
->
map
);
var_AddCallback
(
obj
,
"key-pressed"
,
vlc_key_to_action
,
&
as
->
map
);
...
...
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