Commit 38340809 authored by Jean-Paul Saman's avatar Jean-Paul Saman

mozilla: remove dead code

parent 713ca604
......@@ -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) )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment