summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gtk/gtkprintoperation-win32.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkprintoperation-win32.c b/gtk/gtkprintoperation-win32.c
index ab31cba5c9..c484209f5b 100644
--- a/gtk/gtkprintoperation-win32.c
+++ b/gtk/gtkprintoperation-win32.c
@@ -757,7 +757,7 @@ devmode_to_settings (GtkPrintSettings *settings,
if (devmode->dmFields & DM_DEFAULTSOURCE)
{
- char *source;
+ const char *source;
switch (devmode->dmDefaultSource)
{
default:
@@ -857,7 +857,7 @@ devmode_to_settings (GtkPrintSettings *settings,
if (devmode->dmFields & DM_MEDIATYPE)
{
- char *media_type;
+ const char *media_type;
switch (devmode->dmMediaType)
{
default:
@@ -877,7 +877,7 @@ devmode_to_settings (GtkPrintSettings *settings,
if (devmode->dmFields & DM_DITHERTYPE)
{
- char *dither;
+ const char *dither;
switch (devmode->dmDitherType)
{
default: