diff options
author | Dan Nicholson <dbn.lists@gmail.com> | 2012-08-26 11:13:52 -0700 |
---|---|---|
committer | Dan Nicholson <dbn.lists@gmail.com> | 2012-10-30 22:54:59 -0700 |
commit | 08996667ba52e36cd2b882d0ae2c1e44313c1386 (patch) | |
tree | f3edf26444daf83abbb136dfa1a46c250ac592af /src | |
parent | 679aea1db4468c42845a743b2ccad9bda0e7c4ea (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.
Diffstat (limited to 'src')
-rw-r--r-- | src/evbp.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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; |