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
37ffc160
Commit
37ffc160
authored
Dec 20, 2007
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make wxwidgets compile again. The preference dialog still needs fixing.
parent
6be497de
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
modules/gui/wxwidgets/dialogs/preferences.cpp
modules/gui/wxwidgets/dialogs/preferences.cpp
+6
-2
No files found.
modules/gui/wxwidgets/dialogs/preferences.cpp
View file @
37ffc160
...
...
@@ -512,12 +512,12 @@ PrefsTreeCtrl::PrefsTreeCtrl( wxWindow *_p_parent, intf_thread_t *_p_intf,
/* Exclude the main module */
if
(
!
strcmp
(
module_GetObjName
(
p_module
),
"main"
)
)
continue
;
#if 0
/* Exclude empty plugins (submodules don't have config options, they
* are stored in the parent module) */
if( module_IsSubModule(p_module) )
continue;
#endif
p_config
=
module_GetConfig
(
p_module
,
&
i_confsize
);
for
(
size_t
i
=
0
;
i
<
i_confsize
;
i
++
)
{
...
...
@@ -580,7 +580,9 @@ PrefsTreeCtrl::PrefsTreeCtrl( wxWindow *_p_parent, intf_thread_t *_p_intf,
/* Add the plugin to the tree */
ConfigTreeData
*
config_data
=
new
ConfigTreeData
;
#if 0
config_data->b_submodule = module_IsSubModule(p_module);
#endif
config_data
->
i_type
=
TYPE_MODULE
;
config_data
->
i_object_id
=
config_data
->
b_submodule
?
((
vlc_object_t
*
)
p_module
)
->
p_parent
->
i_object_id
:
...
...
@@ -928,9 +930,11 @@ PrefsPanel::PrefsPanel( wxWindow* parent, intf_thread_t *_p_intf,
/* Enumerate config options and add corresponding config boxes
* (submodules don't have config options, they are stored in the
* parent module) */
#if 0
if( module_IsSubModule(p_module) )
p_start = module_GetConfig((module_t *)(((vlc_object_t *)p_module)->p_parent), &i_confsize);
else
#endif
p_start
=
module_GetConfig
(
p_module
,
&
i_confsize
);
p_item
=
p_start
;
...
...
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