[vlc-devel] commit: mozilla: remove dead code (Jean-Paul Saman )
git version control
git at videolan.org
Tue May 5 11:48:49 CEST 2009
vlc | branch: master | Jean-Paul Saman <jpsaman at videolan.org> | Sun May 3 20:37:27 2009 +0200| [38340809e56050ca3b1e90b9fac2816c706efbf1] | committer: Jean-Paul Saman
mozilla: remove dead code
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=38340809e56050ca3b1e90b9fac2816c706efbf1
---
projects/mozilla/vlcshell.cpp | 11 -----------
1 files changed, 0 insertions(+), 11 deletions(-)
diff --git a/projects/mozilla/vlcshell.cpp b/projects/mozilla/vlcshell.cpp
index d582cf6..b59c42d 100644
--- a/projects/mozilla/vlcshell.cpp
+++ b/projects/mozilla/vlcshell.cpp
@@ -428,7 +428,6 @@ NPError NPP_SetWindow( NPP instance, NPWindow* window )
{
/* change/set parent */
libvlc_video_set_parent(p_vlc, 0, &ex);
-
if( libvlc_exception_raised(&ex) )
fprintf( stderr, "Exception: %s\n", libvlc_exception_get_message(&ex) );
libvlc_exception_clear(&ex);
@@ -541,16 +540,6 @@ NPError NPP_SetWindow( NPP instance, NPWindow* window )
XtAddEventHandler( w, ButtonReleaseMask, FALSE,
(XtEventHandler)ControlHandler, p_plugin );
- /* callback */
-/*
- libvlc_media_player_t *p_md;
-
- p_md = p_plugin->getMD( &ex );
- libvlc_exception_clear( &ex );
- libvlc_event_attach( libvlc_media_player_event_manager( p_md, &ex ),
- libvlc_MediaPlayerPositionChanged, Redraw, NULL, &ex );
-*/
-
/* set/change parent window */
libvlc_video_set_parent( p_vlc, (libvlc_drawable_t) video, &ex );
if( libvlc_exception_raised(&ex) )
More information about the vlc-devel
mailing list