diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2009-12-02 17:43:01 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2009-12-18 17:44:12 -0800 |
commit | 895f40792a14d8b88923bf3b428d31ae3bb31e46 (patch) | |
tree | 3f53eecbf3ffea314ee657a0254925fe65510605 /randr/rroutput.c | |
parent | a11c58fa0c5809f918b36b84be53385cb2d8ea59 (diff) |
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 <alan.coopersmith@sun.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'randr/rroutput.c')
-rw-r--r-- | randr/rroutput.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/randr/rroutput.c b/randr/rroutput.c index 2eff8c183..3a1b8bbea 100644 --- a/randr/rroutput.c +++ b/randr/rroutput.c @@ -22,7 +22,6 @@ */ #include "randrstr.h" -#include "registry.h" RESTYPE RROutputType; @@ -422,10 +421,9 @@ RROutputDestroyResource (pointer value, XID pid) Bool RROutputInit (void) { - RROutputType = CreateNewResourceType (RROutputDestroyResource); + RROutputType = CreateNewResourceType (RROutputDestroyResource, "OUTPUT"); if (!RROutputType) return FALSE; - RegisterResourceName (RROutputType, "OUTPUT"); return TRUE; } |