summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2012-08-26 11:13:52 -0700
committerDan Nicholson <dbn.lists@gmail.com>2012-10-30 22:54:59 -0700
commit08996667ba52e36cd2b882d0ae2c1e44313c1386 (patch)
treef3edf26444daf83abbb136dfa1a46c250ac592af
parent679aea1db4468c42845a743b2ccad9bda0e7c4ea (diff)
Respond to NPPVpluginWantsAllNetworkStreams query from browser
Apparently NPPVpluginWantsAllNetworkStreams is always queried, so tell the browser that we don't need all the network streams.
-rw-r--r--src/evbp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/evbp.c b/src/evbp.c
index 83cf4dd..b0548ee 100644
--- a/src/evbp.c
+++ b/src/evbp.c
@@ -297,6 +297,10 @@ evbp_get_value(NPP instance, NPPVariable variable, void *value)
/* Require XEmbed */
*((PRBool *)value) = PR_TRUE;
break;
+ case NPPVpluginWantsAllNetworkStreams:
+ /* Don't require all network streams */
+ *((NPBool *)value) = false;
+ break;
default:
g_warning("cannot get value for NPPVariable %d", variable);
err = NPERR_GENERIC_ERROR;