Correct an example
authorMatthias Clasen <matthiasc@src.gnome.org>
Thu, 3 Apr 2008 04:17:19 +0000 (04:17 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Thu, 3 Apr 2008 04:17:19 +0000 (04:17 +0000)
svn path=/trunk/; revision=6812

docs/reference/ChangeLog
docs/reference/glib/tmpl/arrays.sgml

index b932bdd..cfc25ab 100644 (file)
@@ -1,3 +1,9 @@
+2008-04-03  Matthias Clasen  <mclasen@redhat.com>
+
+       Bug 525553 – fix typo and nitpicking in GArray documentation
+
+       * glib/tmpl/arrays.sgml: Correct an index in an example
+
 2008-03-30  Matthias Clasen  <mclasen@redhat.com>
        
        * gio/gio-sections.txt: Add g_file_query_file_type.
index c3aa40e..34c5497 100644 (file)
@@ -264,7 +264,7 @@ The return value is cast to the given type.
 <programlisting>
   EDayViewEvent *event;
 
-  /* This gets a pointer to the 3rd element in the array of EDayViewEvent
+  /* This gets a pointer to the 4th element in the array of EDayViewEvent
      structs. */
   event = &amp;g_array_index (events, EDayViewEvent, 3);
 </programlisting>