summaryrefslogtreecommitdiff
path: root/gdk/x11/gdkpango-x11.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdk/x11/gdkpango-x11.c')
-rw-r--r--gdk/x11/gdkpango-x11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/x11/gdkpango-x11.c b/gdk/x11/gdkpango-x11.c
index 09e44f4450..3900de59be 100644
--- a/gdk/x11/gdkpango-x11.c
+++ b/gdk/x11/gdkpango-x11.c
@@ -34,7 +34,7 @@ gdk_pango_context_get (void)
static gint use_xft = -1;
if (use_xft == -1)
{
- char *val = g_getenv ("GDK_USE_XFT");
+ const char *val = g_getenv ("GDK_USE_XFT");
use_xft = val && (atoi (val) != 0);
}