From 895f40792a14d8b88923bf3b428d31ae3bb31e46 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Wed, 2 Dec 2009 17:43:01 -0800 Subject: Add type name argument to CreateNewResourceType Convert all calls of CreateNewResourceType to pass name argument Breaks DIX ABI. ABI versions bumped: Signed-off-by: Alan Coopersmith Reviewed-by: Keith Packard Signed-off-by: Keith Packard --- dbe/dbe.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'dbe') diff --git a/dbe/dbe.c b/dbe/dbe.c index 7af873631..825d2e08f 100644 --- a/dbe/dbe.c +++ b/dbe/dbe.c @@ -54,7 +54,6 @@ #include "dbestruct.h" #include "midbe.h" #include "xace.h" -#include "registry.h" /* GLOBALS */ @@ -1574,17 +1573,15 @@ DbeExtensionInit(void) /* Create the resource types. */ dbeDrawableResType = - CreateNewResourceType(DbeDrawableDelete); + CreateNewResourceType(DbeDrawableDelete, "dbeDrawable"); if (!dbeDrawableResType) return; dbeDrawableResType |= RC_DRAWABLE; - RegisterResourceName(dbeDrawableResType, "dbeDrawable"); dbeWindowPrivResType = - CreateNewResourceType(DbeWindowPrivDelete); + CreateNewResourceType(DbeWindowPrivDelete, "dbeWindow"); if (!dbeWindowPrivResType) return; - RegisterResourceName(dbeWindowPrivResType, "dbeWindow"); if (!dixRegisterPrivateOffset(dbeDrawableResType, offsetof(PixmapRec, devPrivates))) -- cgit v1.2.3