]> git.sesse.net Git - vlc/commitdiff
mozilla: remove dead code
authorJean-Paul Saman <jpsaman@videolan.org>
Sun, 3 May 2009 18:37:27 +0000 (20:37 +0200)
committerJean-Paul Saman <jpsaman@videolan.org>
Tue, 5 May 2009 09:41:45 +0000 (11:41 +0200)
projects/mozilla/vlcshell.cpp

index d582cf6332e89a56ee38f2db66b6ede952fa6360..b59c42d1651d92c5f7105510ccd1aab0a60740e6 100644 (file)
@@ -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) )