summaryrefslogtreecommitdiff
path: root/pango/pango-utils.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2012-08-27 22:51:03 -0400
committerBehdad Esfahbod <behdad@behdad.org>2012-08-27 22:55:34 -0400
commit476cba0d2af65b57b297044f26139b493796494a (patch)
tree9167f4b86639b4862c6b3d66fec3c83b715b1947 /pango/pango-utils.c
parent39d0a94a735abedbfa6ff2b20ab3da1314c84f89 (diff)
downloadpango-476cba0d2af65b57b297044f26139b493796494a.tar.gz
Fix warnings
Diffstat (limited to 'pango/pango-utils.c')
-rw-r--r--pango/pango-utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/pango-utils.c b/pango/pango-utils.c
index 8d1255d3..88956057 100644
--- a/pango/pango-utils.c
+++ b/pango/pango-utils.c
@@ -721,7 +721,7 @@ pango_get_sysconf_subdirectory (void)
if (g_once_init_enter ((gsize*)&result))
{
- gchar *tmp_result = NULL;
+ const char *tmp_result = NULL;
#ifdef G_OS_WIN32
gchar *root = g_win32_get_package_installation_directory_of_module (pango_dll);
tmp_result = g_build_filename (root, "etc\\pango", NULL);
@@ -756,7 +756,7 @@ pango_get_lib_subdirectory (void)
if (g_once_init_enter ((gsize*)&result))
{
- gchar *tmp_result = NULL;
+ const gchar *tmp_result = NULL;
#ifdef G_OS_WIN32
gchar *root = g_win32_get_package_installation_directory_of_module (pango_dll);
/* If we are running against an uninstalled copy of the Pango DLL,