summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2008-08-27 19:17:15 -0400
committerEamon Walsh <ewalsh@tycho.nsa.gov>2008-08-27 19:17:15 -0400
commit86898491497a43814caf42013651086e62fe6162 (patch)
tree30aca0a45e5af4ed80726818367da3dcbabc0e0c /render
parent90b178cc7feda1f9c4995b98364739e71233fff3 (diff)
Remove unused GetGlyphPrivatesForScreen.
Diffstat (limited to 'render')
-rw-r--r--render/glyph.c8
-rw-r--r--render/picturestr.h3
2 files changed, 0 insertions, 11 deletions
diff --git a/render/glyph.c b/render/glyph.c
index de0197083..849e65fce 100644
--- a/render/glyph.c
+++ b/render/glyph.c
@@ -92,14 +92,6 @@ static GlyphHashRec globalGlyphs[GlyphFormatNum];
static void
FreeGlyphPrivates (GlyphPtr glyph)
{
- ScreenPtr pScreen;
- int i;
-
- for (i = 0; i < screenInfo.numScreens; i++) {
- pScreen = screenInfo.screens[i];
- dixFreePrivates(*GetGlyphPrivatesForScreen(glyph, pScreen));
- }
-
dixFreePrivates(glyph->devPrivates);
glyph->devPrivates = NULL;
}
diff --git a/render/picturestr.h b/render/picturestr.h
index acd15c7fe..1ce16be7d 100644
--- a/render/picturestr.h
+++ b/render/picturestr.h
@@ -403,9 +403,6 @@ extern RESTYPE GlyphSetType;
#define GetPictureWindow(w) ((PicturePtr)dixLookupPrivate(&(w)->devPrivates, PictureWindowPrivateKey))
#define SetPictureWindow(w,p) dixSetPrivate(&(w)->devPrivates, PictureWindowPrivateKey, p)
-#define GetGlyphPrivatesForScreen(glyph, s) \
- ((PrivateRec **)dixLookupPrivateAddr(&(glyph)->devPrivates, s))
-
#define VERIFY_PICTURE(pPicture, pid, client, mode, err) {\
pPicture = SecurityLookupIDByType(client, pid, PictureType, mode);\
if (!pPicture) { \