summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2008-12-17 11:23:51 -0500
committerAdam Jackson <ajax@redhat.com>2008-12-17 11:23:51 -0500
commitc79e2aecab080d8f47b258ae3c4dd9394280ae2a (patch)
tree1b9b3eebffa0d3df9b7e97b5063fc0ec5261a7ce /src
parentdda80ea67e33d18f7cc869c6f828c444c8966704 (diff)
Use RRSimpleCheckExtension in functions returning void
Diffstat (limited to 'src')
-rw-r--r--src/XrrOutput.c2
1 files changed, 1 insertions, 1 deletions
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))