diff options
author | Bastien Nocera <hadess@hadess.net> | 2011-12-04 16:26:31 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2011-12-04 16:26:31 +0100 |
commit | baa50e4bf3b404225e1154a2caaa5ce47ac9c14a (patch) | |
tree | 2cfd7d75fbd44fb01408a8bf69a25286400ee767 | |
parent | f5e5ce98597b9544d3d835a36af099abfd6a7295 (diff) | |
download | totem-baa50e4bf3b404225e1154a2caaa5ce47ac9c14a.tar.gz |
browser-plugin: Create a command queue earlier
-rw-r--r-- | browser-plugin/totemPlugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/browser-plugin/totemPlugin.cpp b/browser-plugin/totemPlugin.cpp index 780a228f1..ef6407ee3 100644 --- a/browser-plugin/totemPlugin.cpp +++ b/browser-plugin/totemPlugin.cpp @@ -638,8 +638,6 @@ totemPlugin::ViewerFork () reinterpret_cast<void*>(this), NULL); - mQueue = g_queue_new (); - /* Set mViewerFD nonblocking */ fcntl (mViewerFD, F_SETFL, O_NONBLOCK); @@ -1823,6 +1821,8 @@ totemPlugin::Init (NPMIMEType mimetype, * error code from the NewStream function. */ + mQueue = g_queue_new (); + NPError err; err = NPN_GetValue (mNPP, NPNVPluginElementNPObject, |