From: Matthias Clasen Date: Tue, 4 Apr 2006 04:21:38 +0000 (+0000) Subject: Make the parser struct const X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=5d1c3924e139fd1aa63ca560c446316c13901597;p=dana%2Fcg-glib.git Make the parser struct const --- diff --git a/ChangeLog b/ChangeLog index 1abf462a..1ae80b5d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2006-04-04 Matthias Clasen + + * glib/gbookmarkfile.c: Make the parser struct const. + 2006-04-04 Behdad Esfahbod * glib/gbookmarkfile.c: Fix accidentally broken build. diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index 1abf462a..1ae80b5d 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,7 @@ +2006-04-04 Matthias Clasen + + * glib/gbookmarkfile.c: Make the parser struct const. + 2006-04-04 Behdad Esfahbod * glib/gbookmarkfile.c: Fix accidentally broken build. diff --git a/glib/gbookmarkfile.c b/glib/gbookmarkfile.c index 35b8f3a3..1423fff6 100644 --- a/glib/gbookmarkfile.c +++ b/glib/gbookmarkfile.c @@ -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 */