Francois Gouget : gdiplus: Remove GdiplusShutdown() as it is redudant with GdiplusShutdown_wrapper().

Alexandre Julliard julliard at winehq.org
Wed Mar 16 12:22:37 CDT 2011


Module: wine
Branch: master
Commit: ca988fa4019e52d94799d69305b03b8612e7b1c0
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=ca988fa4019e52d94799d69305b03b8612e7b1c0

Author: Francois Gouget <fgouget at free.fr>
Date:   Wed Mar 16 08:26:52 2011 +0100

gdiplus: Remove GdiplusShutdown() as it is redudant with GdiplusShutdown_wrapper().

---

 dlls/gdiplus/gdiplus.c |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/dlls/gdiplus/gdiplus.c b/dlls/gdiplus/gdiplus.c
index fb159be..8c08660 100644
--- a/dlls/gdiplus/gdiplus.c
+++ b/dlls/gdiplus/gdiplus.c
@@ -116,16 +116,17 @@ void WINAPI GdiplusNotificationUnhook(ULONG_PTR token)
 /*****************************************************
  *      GdiplusShutdown [GDIPLUS.@]
  */
-void WINAPI GdiplusShutdown(ULONG_PTR token)
-{
-    /* FIXME: no object tracking */
-}
-
-/* "bricksntiles" expects a return value of 0, which native coincidentally gives */
 ULONG WINAPI GdiplusShutdown_wrapper(ULONG_PTR token)
 {
-    GdiplusShutdown(token);
+    /* Notice the slightly different prototype from the official
+     * signature which forces us to use the the _wrapper suffix.
+     */
+
+    /* FIXME: no object tracking */
 
+    /* "bricksntiles" expects a return value of 0, which native
+     * coincidentally gives.
+     */
     return 0;
 }
 




More information about the wine-cvs mailing list