projects
/
platform
/
upstream
/
glib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a missing include.
[platform/upstream/glib.git]
/
glib
/
gkeyfile.c
diff --git
a/glib/gkeyfile.c
b/glib/gkeyfile.c
index
4b02af6
..
acddd9f
100644
(file)
--- a/
glib/gkeyfile.c
+++ b/
glib/gkeyfile.c
@@
-22,6
+22,8
@@
*/
#include "config.h"
*/
#include "config.h"
+#include "galias.h"
+
#include "gkeyfile.h"
#include <errno.h>
#include "gkeyfile.h"
#include <errno.h>
@@
-629,7
+631,7
@@
static gboolean
g_key_file_locale_is_interesting (GKeyFile *key_file,
const gchar *locale)
{
g_key_file_locale_is_interesting (GKeyFile *key_file,
const gchar *locale)
{
- const
const
gchar * const * current_locales;
+ const gchar * const * current_locales;
gsize i;
if (key_file->flags & G_KEY_FILE_KEEP_TRANSLATIONS)
gsize i;
if (key_file->flags & G_KEY_FILE_KEEP_TRANSLATIONS)
@@
-3134,7
+3136,7
@@
g_key_file_parse_value_as_comment (GKeyFile *key_file,
for (i = 0; lines[i] != NULL; i++)
{
for (i = 0; lines[i] != NULL; i++)
{
- if (lines[i][0] !=
"#"
)
+ if (lines[i][0] !=
'#'
)
g_string_append_printf (string, "%s\n", lines[i]);
else
g_string_append_printf (string, "%s\n", lines[i] + 1);
g_string_append_printf (string, "%s\n", lines[i]);
else
g_string_append_printf (string, "%s\n", lines[i] + 1);