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
1b481ca9
Commit
1b481ca9
authored
Aug 16, 2006
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/gui/wxwidgets/dialogs/playlist.cpp: remove fprintf()s and compilation warnings.
parent
48031dce
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
9 deletions
+4
-9
modules/gui/wxwidgets/dialogs/playlist.cpp
modules/gui/wxwidgets/dialogs/playlist.cpp
+4
-9
No files found.
modules/gui/wxwidgets/dialogs/playlist.cpp
View file @
1b481ca9
...
...
@@ -219,7 +219,6 @@ Playlist::Playlist( intf_thread_t *_p_intf, wxWindow *p_parent ):
i_items_to_append
=
0
;
p_playlist
=
(
playlist_t
*
)
vlc_object_find
(
p_intf
,
VLC_OBJECT_PLAYLIST
,
FIND_ANYWHERE
);
msg_Err
(
p_intf
,
"p_playlist= 0x%x"
,
p_playlist
);
if
(
p_playlist
==
NULL
)
return
;
SetIcon
(
*
p_intf
->
p_sys
->
p_icon
);
...
...
@@ -340,9 +339,9 @@ Playlist::Playlist( intf_thread_t *_p_intf, wxWindow *p_parent ):
toolbar
->
Realize
();
/* Create teh source selector */
source_sel
=
new
wxList
Ctrl
(
playlist_panel
,
Source_Event
,
wxDefaultPosition
,
wxDefaultSize
,
wxLC_AUTOARRANGE
|
wxLC_SINGLE_SEL
);
source_sel
=
new
wxList
View
(
playlist_panel
,
Source_Event
,
wxDefaultPosition
,
wxDefaultSize
,
wxLC_AUTOARRANGE
|
wxLC_SINGLE_SEL
);
/* Create the tree */
treectrl
=
new
wxTreeCtrl
(
playlist_panel
,
TreeCtrl_Event
,
...
...
@@ -1305,7 +1304,7 @@ bool PlaylistFileDropTarget::OnDropFiles( wxCoord x, wxCoord y,
/* Put the items in the playlist node */
for
(
size_t
i
=
0
;
i
<
filenames
.
GetCount
();
i
++
)
{
c
onst
c
har
*
psz_utf8
=
wxDnDFromLocale
(
filenames
[
i
]
);
char
*
psz_utf8
=
wxDnDFromLocale
(
filenames
[
i
]
);
input_item_t
*
p_input
=
input_ItemNew
(
p
->
p_playlist
,
psz_utf8
,
psz_utf8
);
playlist_NodeAddInput
(
p
->
p_playlist
,
p_input
,
...
...
@@ -1655,16 +1654,12 @@ void Playlist::OnPlaylistEvent( wxCommandEvent& event )
switch
(
event
.
GetId
()
)
{
case
UpdateItem_Event
:
fprintf
(
stderr
,
"Update input item id %i
\n
"
,
event
.
GetInt
()
);
UpdateItem
(
event
.
GetInt
()
);
break
;
case
AppendItem_Event
:
fprintf
(
stderr
,
"Append item id %i
\n
"
,
((
playlist_add_t
*
)
event
.
GetClientData
())
->
i_item
);
AppendItem
(
event
);
break
;
case
RemoveItem_Event
:
fprintf
(
stderr
,
"Remove item id %i
\n
"
,
event
.
GetInt
()
);
RemoveItem
(
event
.
GetInt
()
);
break
;
}
...
...
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