[vlc-commits] Fix build

Jean-Baptiste Kempf git at videolan.org
Fri Oct 19 12:57:56 CEST 2012


npapi-vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Oct 19 12:57:58 2012 +0200| [fe3c3cb2d2d9ea4267b9b5657fa98d493bd46bab] | committer: Jean-Baptiste Kempf

Fix build

> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=fe3c3cb2d2d9ea4267b9b5657fa98d493bd46bab
---

 npapi/vlcshell.cpp |    5 -----
 1 file changed, 5 deletions(-)

diff --git a/npapi/vlcshell.cpp b/npapi/vlcshell.cpp
index 4db51a5..cde708c 100644
--- a/npapi/vlcshell.cpp
+++ b/npapi/vlcshell.cpp
@@ -344,9 +344,7 @@ NPError NPP_SetWindow( NPP instance, NPWindow* window )
     NPWindow& curr_window = p_plugin->getWindow();
 
     if (window/* && window->window */) {
-    	::DebugStr((const unsigned char*)"vlcshell: received window object from browser");
         if (!curr_window.window) {
-        	::DebugStr((const unsigned char*)"vlcshell: no current window");
             /* we've just been created */
             p_plugin->setWindow(*window);
             p_plugin->create_windows();
@@ -376,13 +374,11 @@ NPError NPP_SetWindow( NPP instance, NPWindow* window )
             p_plugin->update_controls();
         } else {
             if (window->window == curr_window.window) {
-                ::DebugStr((const unsigned char*)"Already have current window, and new window is the same");
                 /* resize / move notification */
                 p_plugin->setWindow(*window);
                 p_plugin->resize_windows();
             } else {
                 /* plugin parent window was changed, notify plugin about it */
-            	::DebugStr((const unsigned char*)"Already have current window, but new window is different");
                 p_plugin->destroy_windows();
                 p_plugin->setWindow(*window);
                 p_plugin->create_windows();
@@ -392,7 +388,6 @@ NPError NPP_SetWindow( NPP instance, NPWindow* window )
     } else {
         /* NOTE: on Windows, Opera does not call NPP_SetWindow
          * on window destruction. */
-    	::DebugStr((const unsigned char*)"vlcshell: received no window object from browser");
         if (curr_window.window) {
             /* we've been destroyed */
             p_plugin->destroy_windows();



More information about the vlc-commits mailing list