[Xfce4-commits] <parole:0.2.2> handle NP_EMBED mode.

Ali Abdallah noreply at xfce.org
Sun Jan 31 19:28:01 CET 2010


Updating branch refs/heads/0.2.2
         to 353c6ee81841b0b2903c59964e2d402023ed7ef5 (commit)
       from c7c81983280be97591f26b6541a17f05874d5e7e (commit)

commit 353c6ee81841b0b2903c59964e2d402023ed7ef5
Author: Ali Abdallah <aliov at xfce.org>
Date:   Fri Jan 29 17:03:21 2010 +0100

    handle NP_EMBED mode.

 browser-plugin/plugin.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/browser-plugin/plugin.cpp b/browser-plugin/plugin.cpp
index 43372f0..2e85aa8 100644
--- a/browser-plugin/plugin.cpp
+++ b/browser-plugin/plugin.cpp
@@ -441,7 +441,7 @@ int32_t CPlugin::WriteReady (NPStream * stream)
 {
     g_debug ("WriteReady url=%s", stream->url);
     
-    if ( mode != NP_FULL )
+    if ( mode != NP_FULL || mode != NP_EMBED )
     {
 	NPN_DestroyStream (mInstance, stream, NPRES_DONE);
 	return -1;



More information about the Xfce4-commits mailing list