cancellable: Minor fix to docs
authorAlexander Larsson <alexl@redhat.com>
Mon, 23 Sep 2013 07:11:04 +0000 (09:11 +0200)
committerAlexander Larsson <alexl@redhat.com>
Mon, 23 Sep 2013 07:11:04 +0000 (09:11 +0200)
The code uses "my_data", not "data" everywhere else.

gio/gcancellable.c

index 6207ae8..4522a41 100644 (file)
@@ -122,7 +122,7 @@ g_cancellable_class_init (GCancellableClass *klass)
    *     if (cancellable)
    *       id = g_cancellable_connect (cancellable,
    *                                 G_CALLBACK (cancelled_handler)
-   *                                 data, NULL);
+   *                                 my_data, NULL);
    *
    *     /<!-- -->* cancellable operation here... *<!-- -->/
    *