qmgr: Use proper method macros

Nikolay Sivov nsivov at codeweavers.com
Fri Aug 24 04:26:05 CDT 2012


Use proper method macros
-------------- next part --------------
>From 87a19ba69343266bca8b1201ad6a2939283322c9 Mon Sep 17 00:00:00 2001
From: Nikolay Sivov <nsivov at codeweavers.com>
Date: Fri, 24 Aug 2012 12:52:18 +0400
Subject: [PATCH 2/6] Use proper method macros

---
 dlls/qmgr/job.c             |    2 +-
 dlls/qmgr/tests/enum_jobs.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/qmgr/job.c b/dlls/qmgr/job.c
index 9d8d928..c4d6eec 100644
--- a/dlls/qmgr/job.c
+++ b/dlls/qmgr/job.c
@@ -82,7 +82,7 @@ static HRESULT WINAPI BITS_IBackgroundCopyJob_AddFileSet(
     ULONG i;
     for (i = 0; i < cFileCount; ++i)
     {
-        HRESULT hr = IBackgroundCopyJob_AddFile(iface, pFileSet[i].RemoteName,
+        HRESULT hr = IBackgroundCopyJob2_AddFile(iface, pFileSet[i].RemoteName,
                                                 pFileSet[i].LocalName);
         if (FAILED(hr))
             return hr;
diff --git a/dlls/qmgr/tests/enum_jobs.c b/dlls/qmgr/tests/enum_jobs.c
index 5c52480..e388087 100644
--- a/dlls/qmgr/tests/enum_jobs.c
+++ b/dlls/qmgr/tests/enum_jobs.c
@@ -218,7 +218,7 @@ static void test_Next_walkList_2(void)
     {
         ok(jobs[i] != NULL, "Next returned NULL\n");
         if (jobs[i])
-            IBackgroundCopyFile_Release(jobs[i]);
+            IBackgroundCopyJob_Release(jobs[i]);
     }
 
     HeapFree(GetProcessHeap(), 0, jobs);
-- 
1.5.6.5



More information about the wine-patches mailing list