diff options
author | Matthias Clasen <mclasen@redhat.com> | 2007-01-02 13:09:03 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2007-01-02 13:09:03 +0000 |
commit | db9c08d08b3053e040c2ba4bc57611cc36e9f5cf (patch) | |
tree | 9b853d3057fbd91139a753fd2e92a811d6c0ccab /docs | |
parent | 99b531f425502995b5d62dec4f683888ab4fe0de (diff) |
Guard g_slice_debug_tree_statistics by G_ENABLE_DEBUG. (#390940, Kazuki
2007-01-02 Matthias Clasen <mclasen@redhat.com>
* glib/glib.symbols: Guard g_slice_debug_tree_statistics
by G_ENABLE_DEBUG. (#390940, Kazuki Iwamoto)
svn path=/trunk/; revision=5190
Diffstat (limited to 'docs')
-rw-r--r-- | docs/reference/ChangeLog | 4 | ||||
-rw-r--r-- | docs/reference/glib/running.sgml | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index f3000cbec..58b52541e 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,3 +1,7 @@ +2007-01-02 Matthias Clasen <mclasen@redhat.com> + + * glib/running.sgml: Remove C99ism from example. + 2006-12-31 Matthias Clasen <mclasen@redhat.com> * glib/tmpl/threads.sgml: Fix whitespace. (#391116) diff --git a/docs/reference/glib/running.sgml b/docs/reference/glib/running.sgml index 910a3eefe..8aae4f49f 100644 --- a/docs/reference/glib/running.sgml +++ b/docs/reference/glib/running.sgml @@ -158,8 +158,8 @@ variables like <envar>LANG</envar>, <envar>PATH</envar> or <envar>HOME</envar>. A potential cause for such a situation that will be caught by G_SLICE=debug-blocks is e.g.: <programlisting> - void *slist = g_slist_alloc(); // void* gives up type-safety - g_list_free (slist); // corruption: sizeof (GSList) != sizeof (GList) + void *slist = g_slist_alloc(); /* void* gives up type-safety */ + g_list_free (slist); /* corruption: sizeof (GSList) != sizeof (GList) */ </programlisting> </para> </listitem> |