[glib] cancellable: Minor fix to docs



commit 140fa7ee4669adb3827e3ddea5be57f51ee7af3e
Author: Alexander Larsson <alexl redhat com>
Date:   Mon Sep 23 09:11:04 2013 +0200

    cancellable: Minor fix to docs
    
    The code uses "my_data", not "data" everywhere else.

 gio/gcancellable.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/gcancellable.c b/gio/gcancellable.c
index 6207ae8..4522a41 100644
--- a/gio/gcancellable.c
+++ b/gio/gcancellable.c
@@ -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... *<!-- -->/
    *


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]