[Spice-devel] [spice-xpi 5/9] Remove unused xulrunner includes

Christophe Fergeau cfergeau at redhat.com
Thu Mar 7 07:39:31 PST 2013


They are only used on non-Unix platforms, and we are only building
the plugin for Unix at the moment. As we are trying to remove
our dependencies on xulrunner, let's just remove these.
---
 SpiceXPI/src/plugin/plugin.cpp | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/SpiceXPI/src/plugin/plugin.cpp b/SpiceXPI/src/plugin/plugin.cpp
index 5ec2809..c870d48 100644
--- a/SpiceXPI/src/plugin/plugin.cpp
+++ b/SpiceXPI/src/plugin/plugin.cpp
@@ -61,21 +61,6 @@ extern "C" {
 #include <signal.h>
 }
 
-
-// for plugins
-#ifndef XP_UNIX
-#include <nsString.h>
-#include <nsIDOMNavigator.h>
-#include <nsIDOMPluginArray.h>
-#include <nsIDOMPlugin.h>
-#include <nsIDOMMimeType.h>
-#include <nsIObserverService.h>
-#include <plugin/nsIPluginHost.h>
-
-static NS_DEFINE_CID(kPluginManagerCID, NS_PLUGINMANAGER_CID);
-#endif
-
-
 #include <cstring>
 #include <fstream>
 #include <set>
-- 
1.8.1.4



More information about the Spice-devel mailing list