aboutsummaryrefslogtreecommitdiffstats
path: root/src/gamma-wingdi.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/gamma-wingdi.c (renamed from src/gamma-w32gdi.c)18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/gamma-w32gdi.c b/src/gamma-wingdi.c
index 751d9fd..6d983c5 100644
--- a/src/gamma-w32gdi.c
+++ b/src/gamma-wingdi.c
@@ -21,21 +21,21 @@
static int
-w32gdi_is_available(void)
+wingdi_is_available(void)
{
return libgamma_is_method_available(LIBGAMMA_METHOD_W32_GDI);
}
static int
-w32gdi_create(struct gamma_state **state_out)
+wingdi_create(struct gamma_state **state_out)
{
return direct_create(state_out, LIBGAMMA_METHOD_W32_GDI, "wingdi");
}
static void
-w32gdi_print_help(void)
+wingdi_print_help(void)
{
printf(_("Adjust gamma ramps with the Windows GDI.\n"));
printf("\n");
@@ -43,9 +43,9 @@ w32gdi_print_help(void)
}
-#define w32gdi_set_option direct_set_option
-#define w32gdi_start direct_start
-#define w32gdi_apply direct_apply
-#define w32gdi_restore direct_restore
-#define w32gdi_free direct_free
-const struct gamma_method w32gdi_gamma_method = GAMMA_METHOD_INIT("wingdi", 1, 0, w32gdi);
+#define wingdi_set_option direct_set_option
+#define wingdi_start direct_start
+#define wingdi_apply direct_apply
+#define wingdi_restore direct_restore
+#define wingdi_free direct_free
+const struct gamma_method wingdi_gamma_method = GAMMA_METHOD_INIT("wingdi", 1, 0, wingdi);