Module Name:    xsrc
Committed By:   christos
Date:           Tue May 24 19:31:19 UTC 2011

Modified Files:
        xsrc/external/mit/xf86-video-sunleo/dist/src: leo_accel.c

Log Message:
use new dix API; the old one is gone.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 \
    xsrc/external/mit/xf86-video-sunleo/dist/src/leo_accel.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: xsrc/external/mit/xf86-video-sunleo/dist/src/leo_accel.c
diff -u xsrc/external/mit/xf86-video-sunleo/dist/src/leo_accel.c:1.3 xsrc/external/mit/xf86-video-sunleo/dist/src/leo_accel.c:1.4
--- xsrc/external/mit/xf86-video-sunleo/dist/src/leo_accel.c:1.3	Fri Nov 26 07:05:17 2010
+++ xsrc/external/mit/xf86-video-sunleo/dist/src/leo_accel.c	Tue May 24 15:31:18 2011
@@ -110,7 +110,8 @@
 	if (!AllocateGCPrivate(pScreen, LeoGCPrivateIndex, sizeof(LeoPrivGCRec)))
 		return FALSE;
 #else
-	if (!dixRequestPrivate(&LeoGCPrivateIndex, sizeof(LeoPrivGCRec)))
+	if (!dixRegisterPrivateKey(&LeoGCPrivateIndex, PRIVATE_GC,
+	    sizeof(LeoPrivGCRec))
 		return FALSE;
 #endif
 	

Reply via email to