Add a missing include.

This commit is contained in:
Matthias Clasen 2004-10-26 18:48:55 +00:00
parent 45698f6ecf
commit b5e4a809fa
6 changed files with 44 additions and 17 deletions

View File

@ -1,9 +1,14 @@
2004-10-26 Gora Mohanty <gmohanty@cvs.gnome.org>
* configure.in: Added 'or' to ALL_LINGUAS.
* configure.in: Added 'or' to ALL_LINGUAS.
2004-10-26 Matthias Clasen <mclasen@redhat.com>
* glib/gkeyfile.c: Include galias.h.
* glib/gkeyfile.c (g_key_file_parse_value_as_comment):
Don't compare strings and chars.
* glib/glib.symbols: Add new symbols.
* glib/gkeyfile.c (g_key_file_new): Fix docs.

View File

@ -1,9 +1,14 @@
2004-10-26 Gora Mohanty <gmohanty@cvs.gnome.org>
* configure.in: Added 'or' to ALL_LINGUAS.
* configure.in: Added 'or' to ALL_LINGUAS.
2004-10-26 Matthias Clasen <mclasen@redhat.com>
* glib/gkeyfile.c: Include galias.h.
* glib/gkeyfile.c (g_key_file_parse_value_as_comment):
Don't compare strings and chars.
* glib/glib.symbols: Add new symbols.
* glib/gkeyfile.c (g_key_file_new): Fix docs.

View File

@ -1,9 +1,14 @@
2004-10-26 Gora Mohanty <gmohanty@cvs.gnome.org>
* configure.in: Added 'or' to ALL_LINGUAS.
* configure.in: Added 'or' to ALL_LINGUAS.
2004-10-26 Matthias Clasen <mclasen@redhat.com>
* glib/gkeyfile.c: Include galias.h.
* glib/gkeyfile.c (g_key_file_parse_value_as_comment):
Don't compare strings and chars.
* glib/glib.symbols: Add new symbols.
* glib/gkeyfile.c (g_key_file_new): Fix docs.

View File

@ -1,9 +1,14 @@
2004-10-26 Gora Mohanty <gmohanty@cvs.gnome.org>
* configure.in: Added 'or' to ALL_LINGUAS.
* configure.in: Added 'or' to ALL_LINGUAS.
2004-10-26 Matthias Clasen <mclasen@redhat.com>
* glib/gkeyfile.c: Include galias.h.
* glib/gkeyfile.c (g_key_file_parse_value_as_comment):
Don't compare strings and chars.
* glib/glib.symbols: Add new symbols.
* glib/gkeyfile.c (g_key_file_new): Fix docs.

View File

@ -1,9 +1,14 @@
2004-10-26 Gora Mohanty <gmohanty@cvs.gnome.org>
* configure.in: Added 'or' to ALL_LINGUAS.
* configure.in: Added 'or' to ALL_LINGUAS.
2004-10-26 Matthias Clasen <mclasen@redhat.com>
* glib/gkeyfile.c: Include galias.h.
* glib/gkeyfile.c (g_key_file_parse_value_as_comment):
Don't compare strings and chars.
* glib/glib.symbols: Add new symbols.
* glib/gkeyfile.c (g_key_file_new): Fix docs.

View File

@ -22,6 +22,8 @@
*/
#include "config.h"
#include "galias.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)
{
const const gchar * const * current_locales;
const gchar * const * current_locales;
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++)
{
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);