diff options
author | Matthias Clasen <mclasen@redhat.com> | 2014-02-01 11:57:13 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-02-01 12:00:30 -0500 |
commit | 42cf80780b4fbbe9063ed3d962bb13f341757b3f (patch) | |
tree | c514f8d15a6525e927eaccabf9b27fc02dc3ed43 /gio/gcancellable.c | |
parent | 6972264c7daad6688f3a2908c84760892121917d (diff) | |
download | glib-42cf80780b4fbbe9063ed3d962bb13f341757b3f.tar.gz |
Docs: Big entity cleanup
Strip lots of entity use from |[ ]| examples (which are now
implicit CDATA). Also remove many redundant uses of <!-- -->.
Diffstat (limited to 'gio/gcancellable.c')
-rw-r--r-- | gio/gcancellable.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/gio/gcancellable.c b/gio/gcancellable.c index 90d2676c1..5d9c9b67a 100644 --- a/gio/gcancellable.c +++ b/gio/gcancellable.c @@ -106,12 +106,13 @@ g_cancellable_class_init (GCancellableClass *klass) * * An example of how to us this: * |[ - * /<!-- -->* Make sure we don't do any unnecessary work if already cancelled *<!-- -->/ + * /* Make sure we don't do unnecessary work if already cancelled */ * if (g_cancellable_set_error_if_cancelled (cancellable, error)) * return; * - * /<!-- -->* Set up all the data needed to be able to - * * handle cancellation of the operation *<!-- -->/ + * /* Set up all the data needed to be able to + * * handle cancellation of the operation + * */ * my_data = my_data_new (...); * * id = 0; @@ -120,12 +121,13 @@ g_cancellable_class_init (GCancellableClass *klass) * G_CALLBACK (cancelled_handler) * data, NULL); * - * /<!-- -->* cancellable operation here... *<!-- -->/ + * /* cancellable operation here... */ * * g_cancellable_disconnect (cancellable, id); * - * /<!-- -->* cancelled_handler is never called after this, it - * * is now safe to free the data *<!-- -->/ + * /* cancelled_handler is never called after this, + * * it is now safe to free the data + * */ * my_data_free (my_data); * ]| * |