diff options
author | Jon Lund Steffensen <jonlst@gmail.com> | 2010-05-27 02:22:46 +0200 |
---|---|---|
committer | Jon Lund Steffensen <jonlst@gmail.com> | 2010-05-27 02:22:46 +0200 |
commit | ba68997f7ae7a5583a473db53cfd966f8082340c (patch) | |
tree | a74b6a548a6b92ed81c05f0b79a415f74349a7f6 /src | |
parent | Split init function of methods and providers into init and start. (diff) | |
download | redshift-ng-ba68997f7ae7a5583a473db53cfd966f8082340c.tar.gz redshift-ng-ba68997f7ae7a5583a473db53cfd966f8082340c.tar.bz2 redshift-ng-ba68997f7ae7a5583a473db53cfd966f8082340c.tar.xz |
Use lower case for method and provider names.
Diffstat (limited to 'src')
-rw-r--r-- | src/redshift.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/redshift.c b/src/redshift.c index dc8fae6..6483cf0 100644 --- a/src/redshift.c +++ b/src/redshift.c @@ -94,7 +94,7 @@ typedef union { static const gamma_method_t gamma_methods[] = { #ifdef ENABLE_RANDR { - "RANDR", + "randr", (gamma_method_init_func *)randr_init, (gamma_method_start_func *)randr_start, (gamma_method_free_func *)randr_free, @@ -106,7 +106,7 @@ static const gamma_method_t gamma_methods[] = { #endif #ifdef ENABLE_VIDMODE { - "VidMode", + "vidmode", (gamma_method_init_func *)vidmode_init, (gamma_method_start_func *)vidmode_start, (gamma_method_free_func *)vidmode_free, @@ -118,7 +118,7 @@ static const gamma_method_t gamma_methods[] = { #endif #ifdef ENABLE_WINGDI { - "WinGDI", + "wingdi", (gamma_method_init_func *)w32gdi_init, (gamma_method_start_func *)w32gdi_start, (gamma_method_free_func *)w32gdi_free, @@ -145,7 +145,7 @@ typedef union { static const location_provider_t location_providers[] = { #ifdef ENABLE_GNOME_CLOCK { - "GNOME-Clock", + "gnome-clock", (location_provider_init_func *)location_gnome_clock_init, (location_provider_start_func *)location_gnome_clock_start, (location_provider_free_func *)location_gnome_clock_free, @@ -158,7 +158,7 @@ static const location_provider_t location_providers[] = { }, #endif { - "Manual", + "manual", (location_provider_init_func *)location_manual_init, (location_provider_start_func *)location_manual_start, (location_provider_free_func *)location_manual_free, @@ -513,7 +513,7 @@ main(int argc, char *argv[]) float v = strtof(optarg, &end); if (errno == 0 && *end == ':') { /* Use instead as arguments to `manual'. */ - provider_name = "Manual"; + provider_name = "manual"; provider_args = optarg; } else { /* Split off provider arguments. */ |