diff options
Diffstat (limited to 'dbe/dbe.c')
-rw-r--r-- | dbe/dbe.c | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -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))) |