Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
de024680
Commit
de024680
authored
Aug 24, 2004
by
Cyril Deguet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* all: removed obsolete b_blocking in intf_dialogs_arg_t
parent
c8016ca1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
23 deletions
+1
-23
include/vlc_interface.h
include/vlc_interface.h
+0
-5
modules/gui/skins2/src/dialogs.cpp
modules/gui/skins2/src/dialogs.cpp
+0
-2
modules/gui/wxwindows/dialogs.cpp
modules/gui/wxwindows/dialogs.cpp
+1
-16
No files found.
include/vlc_interface.h
View file @
de024680
...
...
@@ -90,11 +90,6 @@ struct intf_dialog_args_t
{
char
*
psz_title
;
vlc_bool_t
b_blocking
;
vlc_bool_t
b_ready
;
vlc_mutex_t
lock
;
vlc_cond_t
wait
;
char
**
psz_results
;
int
i_results
;
...
...
modules/gui/skins2/src/dialogs.cpp
View file @
de024680
...
...
@@ -167,8 +167,6 @@ void Dialogs::showChangeSkin()
(
intf_dialog_args_t
*
)
malloc
(
sizeof
(
intf_dialog_args_t
)
);
memset
(
p_arg
,
0
,
sizeof
(
intf_dialog_args_t
)
);
p_arg
->
b_blocking
=
false
;
p_arg
->
psz_title
=
strdup
(
_
(
"Open a skin file"
)
);
p_arg
->
psz_extensions
=
strdup
(
_
(
"Skin files (*.vlt)|*.vlt|Skin files (*.xml)|*.xml|"
)
);
...
...
modules/gui/wxwindows/dialogs.cpp
View file @
de024680
...
...
@@ -316,14 +316,6 @@ void DialogsProvider::OnOpenFileGeneric( wxCommandEvent& event )
p_arg
->
pf_callback
(
p_arg
);
}
/* Blocking or not ? */
if
(
p_arg
->
b_blocking
)
{
vlc_mutex_lock
(
&
p_arg
->
lock
);
p_arg
->
b_ready
=
1
;
vlc_cond_signal
(
&
p_arg
->
wait
);
}
if
(
p_arg
->
psz_results
)
{
for
(
int
i
=
0
;
i
<
p_arg
->
i_results
;
i
++
)
...
...
@@ -335,14 +327,7 @@ void DialogsProvider::OnOpenFileGeneric( wxCommandEvent& event )
if
(
p_arg
->
psz_title
)
free
(
p_arg
->
psz_title
);
if
(
p_arg
->
psz_extensions
)
free
(
p_arg
->
psz_extensions
);
if
(
p_arg
->
b_blocking
)
{
vlc_mutex_unlock
(
&
p_arg
->
lock
);
}
else
{
free
(
p_arg
);
}
free
(
p_arg
);
}
void
DialogsProvider
::
OnOpenFileSimple
(
wxCommandEvent
&
event
)
...
...
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