mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-05-13 17:33:12 +02:00
Add a missing include.
This commit is contained in:
parent
45698f6ecf
commit
b5e4a809fa
@ -4,6 +4,11 @@
|
|||||||
|
|
||||||
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.
|
||||||
|
@ -4,6 +4,11 @@
|
|||||||
|
|
||||||
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.
|
||||||
|
@ -4,6 +4,11 @@
|
|||||||
|
|
||||||
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.
|
||||||
|
@ -4,6 +4,11 @@
|
|||||||
|
|
||||||
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.
|
||||||
|
@ -4,6 +4,11 @@
|
|||||||
|
|
||||||
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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user