diff options
Diffstat (limited to 'gio/src/gio_docs.xml')
-rw-r--r-- | gio/src/gio_docs.xml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gio/src/gio_docs.xml b/gio/src/gio_docs.xml index c3507496..6aa36fa7 100644 --- a/gio/src/gio_docs.xml +++ b/gio/src/gio_docs.xml @@ -11342,9 +11342,9 @@ GMount *mount; GFile *mount_root GFile *volume_activation_root; -mount = g_volume_get_mount (volume); /* mounted, so never NULL */ +mount = g_volume_get_mount (volume); / * mounted, so never NULL * / mount_root = g_mount_get_root (mount); -volume_activation_root = g_volume_get_activation_root(volume); /* assume not NULL */ +volume_activation_root = g_volume_get_activation_root(volume); / * assume not NULL * / </programlisting> then the expression @@ -19121,13 +19121,13 @@ storage when necessary. To construct a fixed-size output stream, pass %NULL as @realloc_fn. |[ -/* a stream that can grow */ +/ * a stream that can grow * / stream = g_memory_output_stream_new (NULL, 0, realloc, free); -/* another stream that can grow */ +/ * another stream that can grow * / stream2 = g_memory_output_stream_new (NULL, 0, g_realloc, g_free); -/* a fixed-size stream */ +/ * a fixed-size stream * / data = malloc (200); stream3 = g_memory_output_stream_new (data, 200, NULL, free); ]| |