summaryrefslogtreecommitdiff
path: root/mi
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2008-10-03 17:23:58 -0400
committerAdam Jackson <ajax@redhat.com>2008-10-03 17:51:20 -0400
commit4791f8e2ba9a0e318b7f13c83618ece036dd53ed (patch)
tree88c79d163b08502b9d0b35535d6618e63901e4bf /mi
parent14d98b4a2fdea4a4f5cc9b751151672cb392fba3 (diff)
staticize mi{G,S}etScreenPixmap
Diffstat (limited to 'mi')
-rw-r--r--mi/miscrinit.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/mi/miscrinit.c b/mi/miscrinit.c
index 2008a6899..28d331653 100644
--- a/mi/miscrinit.c
+++ b/mi/miscrinit.c
@@ -189,6 +189,19 @@ miScreenDevPrivateInit(ScreenPtr pScreen, int width, pointer pbits)
return TRUE;
}
+static PixmapPtr
+miGetScreenPixmap(ScreenPtr pScreen)
+{
+ return (PixmapPtr)(pScreen->devPrivate);
+}
+
+static void
+miSetScreenPixmap(PixmapPtr pPix)
+{
+ if (pPix)
+ pPix->drawable.pScreen->devPrivate = (pointer)pPix;
+}
+
_X_EXPORT Bool
miScreenInit(
ScreenPtr pScreen,
@@ -297,16 +310,3 @@ miSetZeroLineBias(ScreenPtr pScreen, unsigned int bias)
{
dixSetPrivate(&pScreen->devPrivates, miZeroLineScreenKey, (pointer)bias);
}
-
-PixmapPtr
-miGetScreenPixmap(ScreenPtr pScreen)
-{
- return (PixmapPtr)(pScreen->devPrivate);
-}
-
-void
-miSetScreenPixmap(PixmapPtr pPix)
-{
- if (pPix)
- pPix->drawable.pScreen->devPrivate = (pointer)pPix;
-}