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

commit 353c6ee81841b0b2903c59964e2d402023ed7ef5
Author: Ali Abdallah <[email protected]>
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;
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to