diff options
author | Adam Jackson <ajax@redhat.com> | 2008-12-17 11:23:51 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2008-12-17 11:23:51 -0500 |
commit | c79e2aecab080d8f47b258ae3c4dd9394280ae2a (patch) | |
tree | 1b9b3eebffa0d3df9b7e97b5063fc0ec5261a7ce /src/XrrOutput.c | |
parent | dda80ea67e33d18f7cc869c6f828c444c8966704 (diff) |
Use RRSimpleCheckExtension in functions returning void
Diffstat (limited to 'src/XrrOutput.c')
-rw-r--r-- | src/XrrOutput.c | 2 |
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)) |