npapi-vlc | branch: master | Sergey Radionov <[email protected]> | Tue Dec 13 09:28:25 2011 +0700| [3c92f8d138dd798b6155c4ecf2c5be810dafeca5] | committer: Jean-Baptiste Kempf
npapi win32: route ~VlcPluginWin to destroy_windows Signed-off-by: Jean-Baptiste Kempf <[email protected]> > http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=3c92f8d138dd798b6155c4ecf2c5be810dafeca5 --- npapi/vlcplugin_win.cpp | 10 +--------- 1 files changed, 1 insertions(+), 9 deletions(-) diff --git a/npapi/vlcplugin_win.cpp b/npapi/vlcplugin_win.cpp index 97e50a7..7e61728 100644 --- a/npapi/vlcplugin_win.cpp +++ b/npapi/vlcplugin_win.cpp @@ -83,15 +83,7 @@ VlcPluginWin::VlcPluginWin(NPP instance, NPuint16_t mode) : VlcPluginWin::~VlcPluginWin() { - HWND win = (HWND)getWindow().window; - WNDPROC winproc = getWindowProc(); - if( winproc ) - { - /* reset WNDPROC */ - SetWindowLongPtr( win, GWLP_WNDPROC, (LONG_PTR)winproc ); - } - - _WindowsManager.DestroyWindows(); + destroy_windows(); } void VlcPluginWin::set_player_window() _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
