From c79e2aecab080d8f47b258ae3c4dd9394280ae2a Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Wed, 17 Dec 2008 11:23:51 -0500 Subject: Use RRSimpleCheckExtension in functions returning void --- src/XrrOutput.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/XrrOutput.c b/src/XrrOutput.c index bc35fd1..3e41242 100644 --- a/src/XrrOutput.c +++ b/src/XrrOutput.c @@ -145,7 +145,7 @@ XRRSetOutputPrimary(Display *dpy, Window window, RROutput output) int i; int major_version, minor_version; - RRCheckExtension (dpy, info, 0); + RRSimpleCheckExtension (dpy, info); if (!XRRQueryVersion (dpy, &major_version, &minor_version) || !_XRRHasOutputPrimary (major_version, minor_version)) -- cgit v1.2.3