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
11fb6b16
Commit
11fb6b16
authored
Dec 10, 2013
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Finish "core" renaming to avoid prefs crashes
Close #10096
parent
78808506
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
include/vlc_modules.h
include/vlc_modules.h
+2
-2
modules/gui/qt4/components/preferences_widgets.cpp
modules/gui/qt4/components/preferences_widgets.cpp
+2
-2
No files found.
include/vlc_modules.h
View file @
11fb6b16
...
...
@@ -67,11 +67,11 @@ VLC_API const char * module_gettext( const module_t *, const char * ) VLC_USED;
VLC_USED
static
inline
module_t
*
module_get_main
(
void
)
{
return
module_find
(
"
main
"
);
return
module_find
(
"
core
"
);
}
#define module_get_main(a) module_get_main()
VLC_USED
static
inline
bool
module_is_main
(
const
module_t
*
p_module
)
{
return
!
strcmp
(
module_get_object
(
p_module
),
"
main
"
);
return
!
strcmp
(
module_get_object
(
p_module
),
"
core
"
);
}
modules/gui/qt4/components/preferences_widgets.cpp
View file @
11fb6b16
...
...
@@ -547,7 +547,7 @@ void ModuleConfigControl::finish( )
{
module_t
*
p_parser
=
p_list
[
i
];
if
(
!
strcmp
(
module_get_object
(
p_parser
),
"
main
"
)
)
continue
;
if
(
!
strcmp
(
module_get_object
(
p_parser
),
"
core
"
)
)
continue
;
unsigned
confsize
;
module_config_t
*
p_config
;
...
...
@@ -662,7 +662,7 @@ void ModuleListConfigControl::finish( bool bycat )
if
(
bycat
)
{
if
(
!
strcmp
(
module_get_object
(
p_parser
),
"
main
"
)
)
continue
;
if
(
!
strcmp
(
module_get_object
(
p_parser
),
"
core
"
)
)
continue
;
unsigned
confsize
;
module_config_t
*
p_config
=
module_config_get
(
p_parser
,
&
confsize
);
...
...
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