Bug 546074 - nsMIMEInfoUnix and nsOSHelperAppService.cpp does not match to each other. r=dougt
authorOleg Romashin <romaxa@gmail.com>
Fri, 19 Feb 2010 00:12:33 +0200
changeset 38372 71c777934f25218f682c4b2c65427a982cc5f6b3
parent 38371 ccb63f60ae79185a599c180a183a30304c7da9ca
child 38373 bf75623a6e2d331e7ea213b60cdb5c7655fb3e7d
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdougt
bugs546074
milestone1.9.3a2pre
Bug 546074 - nsMIMEInfoUnix and nsOSHelperAppService.cpp does not match to each other. r=dougt
uriloader/exthandler/unix/nsOSHelperAppService.cpp
--- a/uriloader/exthandler/unix/nsOSHelperAppService.cpp
+++ b/uriloader/exthandler/unix/nsOSHelperAppService.cpp
@@ -1206,17 +1206,17 @@ nsresult nsOSHelperAppService::OSProtoco
 {
   LOG(("-- nsOSHelperAppService::OSProtocolHandlerExists for '%s'\n",
        aProtocolScheme));
   *aHandlerExists = PR_FALSE;
 
 #ifdef MOZ_WIDGET_GTK2
   // Check the GConf registry for a protocol handler
   *aHandlerExists = nsGNOMERegistry::HandlerExists(aProtocolScheme);
-#ifdef MOZ_PLATFORM_MAEMO
+#if (MOZ_PLATFORM_MAEMO == 5) && defined (MOZ_ENABLE_GNOMEVFS)
   *aHandlerExists = nsMIMEInfoUnix::HandlerExists(aProtocolScheme);
 #endif
 #endif
 
   return NS_OK;
 }
 
 NS_IMETHODIMP nsOSHelperAppService::GetApplicationDescription(const nsACString& aScheme, nsAString& _retval)