Huw Davies : wineps: Remove the installed options list as it' s never populated.
Alexandre Julliard
julliard at winehq.org
Wed Apr 11 12:56:47 CDT 2012
Module: wine
Branch: master
Commit: 7b3ae93578602c90be2c6df26468707942cf3ba1
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7b3ae93578602c90be2c6df26468707942cf3ba1
Author: Huw Davies <huw at codeweavers.com>
Date: Wed Apr 11 12:36:18 2012 +0100
wineps: Remove the installed options list as it's never populated.
---
dlls/wineps.drv/ppd.c | 11 -----------
dlls/wineps.drv/psdrv.h | 16 ----------------
2 files changed, 0 insertions(+), 27 deletions(-)
diff --git a/dlls/wineps.drv/ppd.c b/dlls/wineps.drv/ppd.c
index e84f46f..c4dff21 100644
--- a/dlls/wineps.drv/ppd.c
+++ b/dlls/wineps.drv/ppd.c
@@ -969,8 +969,6 @@ PPD *PSDRV_ParsePPD(char *fname)
PAGESIZE *page;
CONSTRAINT *con;
INPUTSLOT *slot;
- OPTION *option;
- OPTIONENTRY *optionEntry;
LIST_FOR_EACH_ENTRY( fn, &ppd->InstalledFonts, FONTNAME, entry )
TRACE("'%s'\n", fn->Name);
@@ -991,15 +989,6 @@ PPD *PSDRV_ParsePPD(char *fname)
TRACE("CONSTRAINTS@ %s %s %s %s\n", con->Feature1,
con->Value1, con->Feature2, con->Value2);
- for(option = ppd->InstalledOptions; option; option = option->next) {
- TRACE("OPTION: %s %s %s\n", option->OptionName,
- option->FullName, option->DefaultOption);
- for(optionEntry = option->Options; optionEntry;
- optionEntry = optionEntry->next)
- TRACE("\tOPTIONENTRY: %s %s %s\n", optionEntry->Name,
- optionEntry->FullName, optionEntry->InvocationString);
- }
-
LIST_FOR_EACH_ENTRY( slot, &ppd->InputSlots, INPUTSLOT, entry )
TRACE("INPUTSLOTS '%s' Name '%s' (%d) Invocation '%s'\n",
debugstr_a(slot->Name), slot->FullName, slot->WinBin,
diff --git a/dlls/wineps.drv/psdrv.h b/dlls/wineps.drv/psdrv.h
index 05545dd..23fb28e 100644
--- a/dlls/wineps.drv/psdrv.h
+++ b/dlls/wineps.drv/psdrv.h
@@ -153,21 +153,6 @@ typedef struct _BANDINFOSTRUCT
RECT GraphicsRect;
} BANDINFOSTRUCT, *PBANDINFOSTRUCT;
-typedef struct _tagOPTIONENTRY {
- char *Name; /* eg "True" */
- char *FullName; /* eg "Installed" */
- char *InvocationString; /* Often NULL */
- struct _tagOPTIONENTRY *next;
-} OPTIONENTRY;
-
-typedef struct _tagOPTION { /* Treat bool as a special case of pickone */
- char *OptionName; /* eg "*Option1" */
- char *FullName; /* eg "Envelope Feeder" */
- char *DefaultOption; /* eg "False" */
- OPTIONENTRY *Options;
- struct _tagOPTION *next;
-} OPTION;
-
typedef struct
{
struct list entry;
@@ -220,7 +205,6 @@ typedef struct {
struct list InstalledFonts;
struct list PageSizes;
PAGESIZE *DefaultPageSize;
- OPTION *InstalledOptions;
struct list Constraints;
struct list InputSlots;
RASTERIZEROPTION TTRasterizer;
More information about the wine-cvs
mailing list