[PATCH] wineps.drv: Remove SelectBitmap stub implementation.

Lei Zhang thestig at google.com
Tue Jan 27 18:16:08 CST 2009


Hi,

I'm still trying to fix bug 17103 / bug 2173. I looked at it a bit
more, and not having PSDRV_SelectBitmap() results in better behavior
than a stub implementation that only returns 0.
-------------- next part --------------
From ba685d281a9560f05a5fbe9ff91d5f096f690ef2 Mon Sep 17 00:00:00 2001
From: Lei Zhang <thestig at google.com>
Date: Tue, 27 Jan 2009 15:49:30 -0800
Subject: [PATCH] wineps.drv: Remove SelectBitmap stub implementation.

---
 dlls/wineps.drv/Makefile.in     |    1 -
 dlls/wineps.drv/objects.c       |   33 ---------------------------------
 dlls/wineps.drv/wineps.drv.spec |    1 -
 3 files changed, 0 insertions(+), 35 deletions(-)
 delete mode 100644 dlls/wineps.drv/objects.c

diff --git a/dlls/wineps.drv/Makefile.in b/dlls/wineps.drv/Makefile.in
index fef94ae..52bc28f 100644
--- a/dlls/wineps.drv/Makefile.in
+++ b/dlls/wineps.drv/Makefile.in
@@ -60,7 +60,6 @@ C_SRCS = \
 	glyphlist.c \
 	graphics.c \
 	init.c \
-	objects.c \
 	pen.c \
 	ppd.c \
 	ps.c \
diff --git a/dlls/wineps.drv/objects.c b/dlls/wineps.drv/objects.c
deleted file mode 100644
index 274e7f9..0000000
--- a/dlls/wineps.drv/objects.c
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- *	PostScript driver object handling
- *
- *	Copyright 1998  Huw D M Davies
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
- */
-
-#include "psdrv.h"
-#include "wine/debug.h"
-
-WINE_DEFAULT_DEBUG_CHANNEL(psdrv);
-
-/***********************************************************************
- *           SelectBitmap   (WINEPS.@)
- */
-HBITMAP PSDRV_SelectBitmap( PSDRV_PDEVICE *physDev, HBITMAP hbitmap )
-{
-    FIXME("stub\n");
-    return 0;
-}
diff --git a/dlls/wineps.drv/wineps.drv.spec b/dlls/wineps.drv/wineps.drv.spec
index 1d3f20c..38ada75 100644
--- a/dlls/wineps.drv/wineps.drv.spec
+++ b/dlls/wineps.drv/wineps.drv.spec
@@ -27,7 +27,6 @@
 @ cdecl Rectangle(ptr long long long long) PSDRV_Rectangle
 @ cdecl ResetDC(ptr ptr) PSDRV_ResetDC
 @ cdecl RoundRect(ptr long long long long long long) PSDRV_RoundRect
-@ cdecl SelectBitmap(ptr long) PSDRV_SelectBitmap
 @ cdecl SelectBrush(ptr long) PSDRV_SelectBrush
 @ cdecl SelectFont(ptr long long) PSDRV_SelectFont
 @ cdecl SelectPen(ptr long) PSDRV_SelectPen
-- 
1.5.4.3


More information about the wine-patches mailing list