Bug 1773772 part 13 - Fix initialisation of nsGNOMEShellService, nsWindowsShellService and nsMailWinSearchHelper. r=#thunderbird-reviewers draft
authorGeoff Lankow <geoff@darktrojan.net>
Mon, 04 Jul 2022 16:25:46 +1200
changeset 119324 ee47582ab3a674fa90e5347bf3b41805a2a8dacc
parent 119321 47417ab9d7f76468fe767a7bd47121dc0372a69f
child 119325 c0a95335c9ea5486cae5c639ef281ef644a51d46
push id16216
push usergeoff@darktrojan.net
push dateMon, 04 Jul 2022 05:20:28 +0000
treeherdertry-comm-central@97f40ac3d503 [default view] [failures only]
bugs1773772
Bug 1773772 part 13 - Fix initialisation of nsGNOMEShellService, nsWindowsShellService and nsMailWinSearchHelper. r=#thunderbird-reviewers Differential Revision: https://phabricator.services.mozilla.com/D150928
mail/components/search/components.conf
mail/components/shell/components.conf
--- a/mail/components/search/components.conf
+++ b/mail/components/search/components.conf
@@ -5,11 +5,12 @@
 Classes = []
 
 if buildconfig.substs["OS_ARCH"] == "WINNT":
     Classes += [
         {
             "cid": "{5dd31c99-08c7-4a3b-aeb3-d2e60665a31a}",
             "contract_ids": ["@mozilla.org/mail/windows-search-helper;1"],
             "type": "nsMailWinSearchHelper",
+            "init_method": "Init",
             "headers": ["/comm/mail/components/search/nsMailWinSearchHelper.h"],
         },
     ]
--- a/mail/components/shell/components.conf
+++ b/mail/components/shell/components.conf
@@ -5,26 +5,28 @@
 Classes = []
 
 if buildconfig.substs["OS_ARCH"] == "WINNT":
     Classes += [
         {
             "cid": "{02ebbe84-c179-4598-af18-1bf2c4bc1df9}",
             "contract_ids": ["@mozilla.org/mail/shell-service;1"],
             "type": "nsWindowsShellService",
+            "init_method": "Init",
             "headers": ["/comm/mail/components/shell/nsWindowsShellService.h"],
         },
     ]
 
 if buildconfig.substs["MOZ_WIDGET_TOOLKIT"] == "gtk":
     Classes += [
         {
             "cid": "{bddef0f4-5e2d-4846-bdec-86d0781d8ded}",
             "contract_ids": ["@mozilla.org/mail/shell-service;1"],
             "type": "nsGNOMEShellService",
+            "init_method": "Init",
             "headers": ["/comm/mail/components/shell/nsGNOMEShellService.h"],
         },
     ]
 
 if buildconfig.substs["OS_ARCH"] == "Darwin":
     Classes += [
         {
             "cid": "{85a27035-b970-4079-b9d2-e21f69e6b21f}",