diff options
Diffstat (limited to 'embed/mozilla/MozRegisterComponents.cpp')
-rw-r--r-- | embed/mozilla/MozRegisterComponents.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/embed/mozilla/MozRegisterComponents.cpp b/embed/mozilla/MozRegisterComponents.cpp index 0ec74ff17..1c93ebeed 100644 --- a/embed/mozilla/MozRegisterComponents.cpp +++ b/embed/mozilla/MozRegisterComponents.cpp @@ -333,6 +333,7 @@ mozilla_register_components (void) rv = RegisterCategories(); ret = NS_SUCCEEDED (rv); +#ifdef HAVE_GECKO_1_9 /* Unregister xpinstall content handler */ nsCID *cidPtr = nsnull; rv = cr->ContractIDToCID (XPINSTALL_CONTRACTID, &cidPtr); @@ -352,6 +353,7 @@ mozilla_register_components (void) { g_warning ("Failed to unregister xpinstall content handler!\n"); } +#endif return ret; } |