Alexandre Julliard : winex11: Get rid of the SetDCOrg entry point.

Alexandre Julliard julliard at winehq.org
Tue Nov 17 09:28:19 CST 2009


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Nov 17 12:43:53 2009 +0100

winex11: Get rid of the SetDCOrg entry point.

---

 dlls/winex11.drv/graphics.c       |   12 ------------
 dlls/winex11.drv/winex11.drv.spec |    1 -
 2 files changed, 0 insertions(+), 13 deletions(-)

diff --git a/dlls/winex11.drv/graphics.c b/dlls/winex11.drv/graphics.c
index e6cedfb..bc00e85 100644
--- a/dlls/winex11.drv/graphics.c
+++ b/dlls/winex11.drv/graphics.c
@@ -1476,18 +1476,6 @@ BOOL CDECL X11DRV_GetDCOrgEx( X11DRV_PDEVICE *physDev, LPPOINT lpp )
 }
 
 
-/***********************************************************************
- *           SetDCOrg   (X11DRV.@)
- */
-DWORD CDECL X11DRV_SetDCOrg( X11DRV_PDEVICE *physDev, INT x, INT y )
-{
-    DWORD ret = MAKELONG( physDev->dc_rect.left + physDev->drawable_rect.left,
-                          physDev->dc_rect.top + physDev->drawable_rect.top );
-    physDev->dc_rect.left = x - physDev->drawable_rect.left;
-    physDev->dc_rect.top = y - physDev->drawable_rect.top;
-    return ret;
-}
-
 static unsigned char *get_icm_profile( unsigned long *size )
 {
     Atom type;
diff --git a/dlls/winex11.drv/winex11.drv.spec b/dlls/winex11.drv/winex11.drv.spec
index 6fd8831..4993d9a 100644
--- a/dlls/winex11.drv/winex11.drv.spec
+++ b/dlls/winex11.drv/winex11.drv.spec
@@ -46,7 +46,6 @@
 @ cdecl SetBitmapBits(long ptr long) X11DRV_SetBitmapBits
 @ cdecl SetBkColor(ptr long) X11DRV_SetBkColor
 @ cdecl SetDCBrushColor(ptr long) X11DRV_SetDCBrushColor
-@ cdecl SetDCOrg(ptr long long) X11DRV_SetDCOrg
 @ cdecl SetDCPenColor(ptr long) X11DRV_SetDCPenColor
 @ cdecl SetDIBColorTable(ptr long long ptr) X11DRV_SetDIBColorTable
 @ cdecl SetDIBits(ptr long long long ptr ptr long) X11DRV_SetDIBits




More information about the wine-cvs mailing list