Browse Source

GCFuncs and GCOps are const since 1.16.

tags/v1.3.90
Tim Waugh 9 years ago
parent
commit
11e35b81a9
1 changed files with 9 additions and 0 deletions
  1. 9
    0
      unix/xserver/hw/vnc/vncHooks.cc

+ 9
- 0
unix/xserver/hw/vnc/vncHooks.cc View File

@@ -89,8 +89,13 @@ typedef struct {
} vncHooksScreenRec, *vncHooksScreenPtr;

typedef struct {
#if XORG >= 116
const GCFuncs *wrappedFuncs;
const GCOps *wrappedOps;
#else
GCFuncs *wrappedFuncs;
GCOps *wrappedOps;
#endif
} vncHooksGCRec, *vncHooksGCPtr;

#if XORG == 15
@@ -916,7 +921,11 @@ public:
}
GCPtr pGC;
vncHooksGCPtr vncHooksGC;
#if XORG >= 116
const GCFuncs* oldFuncs;
#else
GCFuncs* oldFuncs;
#endif
ScreenPtr pScreen;
};


Loading…
Cancel
Save