From ee1619957c9ed6cf31c9263e687d45915f3e600b Mon Sep 17 00:00:00 2001 From: Jon Lund Steffensen Date: Wed, 23 Dec 2009 16:40:18 +0100 Subject: Move RandR code to separate file. --- redshift.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'redshift.c') diff --git a/redshift.c b/redshift.c index 836d596..70bc4fa 100644 --- a/redshift.c +++ b/redshift.c @@ -26,7 +26,7 @@ #include #include "solar.h" -#include "colortemp.h" +#include "randr.h" /* Bounds for parameters. */ @@ -71,7 +71,7 @@ int main(int argc, char *argv[]) { /* Check extensions needed for color temperature adjustment. */ - int r = colortemp_check_extension(); + int r = randr_check_extension(); if (r < 0) { fprintf(stderr, "Unable to set color temperature:" " Needed extension is missing.\n"); @@ -236,7 +236,7 @@ main(int argc, char *argv[]) } /* Set color temperature */ - r = colortemp_set_temperature(temp, gamma); + r = randr_set_temperature(temp, gamma); if (r < 0) { fprintf(stderr, "Unable to set color temperature.\n"); exit(EXIT_FAILURE); -- cgit v1.2.3-70-g09d2