Make the parser struct const

This commit is contained in:
Matthias Clasen 2006-04-04 04:21:38 +00:00
parent 34b2972c4f
commit 5d1c3924e1
3 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2006-04-04 Matthias Clasen <mclasen@redhat.com>
* glib/gbookmarkfile.c: Make the parser struct const.
2006-04-04 Behdad Esfahbod <behdad@gnome.org>
* glib/gbookmarkfile.c: Fix accidentally broken build.

View File

@ -1,3 +1,7 @@
2006-04-04 Matthias Clasen <mclasen@redhat.com>
* glib/gbookmarkfile.c: Make the parser struct const.
2006-04-04 Behdad Esfahbod <behdad@gnome.org>
* glib/gbookmarkfile.c: Fix accidentally broken build.

View File

@ -1372,7 +1372,7 @@ text_raw_cb (GMarkupParseContext *context,
g_free (payload);
}
static GMarkupParser markup_parser =
static const GMarkupParser markup_parser =
{
start_element_raw_cb, /* start_element */
end_element_raw_cb, /* end_element */