[pango] Fix warnings
- From: Behdad Esfahbod <behdad src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango] Fix warnings
- Date: Tue, 28 Aug 2012 04:33:37 +0000 (UTC)
commit 476cba0d2af65b57b297044f26139b493796494a
Author: Behdad Esfahbod <behdad behdad org>
Date: Mon Aug 27 22:51:03 2012 -0400
Fix warnings
pango/pango-utils.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pango/pango-utils.c b/pango/pango-utils.c
index 8d1255d..8895605 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]