mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 23:13:40 +02:00
Annotate all examples with their language
The C ones, at least.
This commit is contained in:
@@ -105,7 +105,7 @@ g_cancellable_class_init (GCancellableClass *klass)
|
||||
* like this.
|
||||
*
|
||||
* An example of how to us this:
|
||||
* |[
|
||||
* |[<!-- language="C" -->
|
||||
* /* Make sure we don't do unnecessary work if already cancelled */
|
||||
* if (g_cancellable_set_error_if_cancelled (cancellable, error))
|
||||
* return;
|
||||
|
Reference in New Issue
Block a user