pkgsrc/mail/thunderbird52/patches/patch-mail_components_shell_nsMailGNOMEIntegration.cpp
ryoon 52f373d9e6 mail/thunderbird52: import thunderbird52-52.9.1nb3
Mozilla Thunderbird is a redesign of the Mozilla mail component. The
goal is to produce a cross platform stand alone mail application using
the XUL user interface language. This version uses the gtk2 toolkit.
2018-12-16 08:29:48 +00:00

24 lines
1,020 B
C++

$NetBSD: patch-mail_components_shell_nsMailGNOMEIntegration.cpp,v 1.1 2018/12/16 08:29:48 ryoon Exp $
--- mail/components/shell/nsMailGNOMEIntegration.cpp.orig 2016-04-07 21:14:23.000000000 +0000
+++ mail/components/shell/nsMailGNOMEIntegration.cpp
@@ -50,16 +50,16 @@ struct AppTypeAssociation {
static const AppTypeAssociation sAppTypes[] = {
{
- nsIShellService::MAIL, sMailProtocols, ArrayLength(sMailProtocols),
+ nsIShellService::MAIL, sMailProtocols, (unsigned int)ArrayLength(sMailProtocols),
"message/rfc822",
nullptr // don't associate .eml extension, as that breaks printing those
},
{
- nsIShellService::NEWS, sNewsProtocols, ArrayLength(sNewsProtocols),
+ nsIShellService::NEWS, sNewsProtocols, (unsigned int)ArrayLength(sNewsProtocols),
nullptr, nullptr
},
{
- nsIShellService::RSS, sFeedProtocols, ArrayLength(sFeedProtocols),
+ nsIShellService::RSS, sFeedProtocols, (unsigned int)ArrayLength(sFeedProtocols),
"application/rss+xml", "rss"
}
};