From 08996667ba52e36cd2b882d0ae2c1e44313c1386 Mon Sep 17 00:00:00 2001 From: Dan Nicholson Date: Sun, 26 Aug 2012 11:13:52 -0700 Subject: Respond to NPPVpluginWantsAllNetworkStreams query from browser Apparently NPPVpluginWantsAllNetworkStreams is always queried, so tell the browser that we don't need all the network streams. --- src/evbp.c | 4 ++++ 1 file changed, 4 insertions(+) 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; -- cgit v1.2.3