Make the parser struct const
authorMatthias Clasen <matthiasc@src.gnome.org>
Tue, 4 Apr 2006 04:21:38 +0000 (04:21 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Tue, 4 Apr 2006 04:21:38 +0000 (04:21 +0000)
ChangeLog
ChangeLog.pre-2-12
glib/gbookmarkfile.c

index 1abf462..1ae80b5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 1abf462..1ae80b5 100644 (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.
index 35b8f3a..1423fff 100644 (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 */