1
0
mirror of https://gitlab.gnome.org/GNOME/glib.git synced 2025-05-31 09:50:05 +02:00

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

@ -1,9 +1,14 @@
2004-10-26 Gora Mohanty <gmohanty@cvs.gnome.org> 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> 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/glib.symbols: Add new symbols.
* glib/gkeyfile.c (g_key_file_new): Fix docs. * glib/gkeyfile.c (g_key_file_new): Fix docs.

@ -1,9 +1,14 @@
2004-10-26 Gora Mohanty <gmohanty@cvs.gnome.org> 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> 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/glib.symbols: Add new symbols.
* glib/gkeyfile.c (g_key_file_new): Fix docs. * glib/gkeyfile.c (g_key_file_new): Fix docs.

@ -1,9 +1,14 @@
2004-10-26 Gora Mohanty <gmohanty@cvs.gnome.org> 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> 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/glib.symbols: Add new symbols.
* glib/gkeyfile.c (g_key_file_new): Fix docs. * glib/gkeyfile.c (g_key_file_new): Fix docs.

@ -1,9 +1,14 @@
2004-10-26 Gora Mohanty <gmohanty@cvs.gnome.org> 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> 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/glib.symbols: Add new symbols.
* glib/gkeyfile.c (g_key_file_new): Fix docs. * glib/gkeyfile.c (g_key_file_new): Fix docs.

@ -1,9 +1,14 @@
2004-10-26 Gora Mohanty <gmohanty@cvs.gnome.org> 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> 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/glib.symbols: Add new symbols.
* glib/gkeyfile.c (g_key_file_new): Fix docs. * glib/gkeyfile.c (g_key_file_new): Fix docs.

@ -22,6 +22,8 @@
*/ */
#include "config.h" #include "config.h"
#include "galias.h"
#include "gkeyfile.h" #include "gkeyfile.h"
#include <errno.h> #include <errno.h>
@ -629,7 +631,7 @@ static gboolean
g_key_file_locale_is_interesting (GKeyFile *key_file, g_key_file_locale_is_interesting (GKeyFile *key_file,
const gchar *locale) const gchar *locale)
{ {
const const gchar * const * current_locales; const gchar * const * current_locales;
gsize i; gsize i;
if (key_file->flags & G_KEY_FILE_KEEP_TRANSLATIONS) 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]); g_string_append_printf (string, "%s\n", lines[i]);
else else
g_string_append_printf (string, "%s\n", lines[i] + 1); g_string_append_printf (string, "%s\n", lines[i] + 1);