summaryrefslogtreecommitdiff
path: root/telepathy-glib/simple-observer.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-12-02 16:56:27 +0100
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-12-02 16:56:27 +0100
commit129c2d636c5691bf9fb94d54785582a435e708ed (patch)
tree49751d1c49fc80ecebe0d308db2d87071971c263 /telepathy-glib/simple-observer.c
parentbe0f475346d1b591d35d7d8c4284d31e7211403a (diff)
downloadtelepathy-glib-129c2d636c5691bf9fb94d54785582a435e708ed.tar.gz
rename self pointer in example and callback definitions
I often copy/paste it in my code and "self" is generally used as the pointer on my object.
Diffstat (limited to 'telepathy-glib/simple-observer.c')
-rw-r--r--telepathy-glib/simple-observer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/telepathy-glib/simple-observer.c b/telepathy-glib/simple-observer.c
index 828ff20c6..6622338b1 100644
--- a/telepathy-glib/simple-observer.c
+++ b/telepathy-glib/simple-observer.c
@@ -30,7 +30,7 @@
* A typical simple observer would look liks this:
* |[
* static void
- * my_observe_channels (TpSimpleObserver *self,
+ * my_observe_channels (TpSimpleObserver *observer,
* TpAccount *account,
* TpConnection *connection,
* GList *channels,
@@ -76,7 +76,7 @@
/**
* TpSimpleObserverObserveChannelsImpl:
- * @self: a #TpSimpleObserver instance
+ * @observer: a #TpSimpleObserver instance
* @account: a #TpAccount having %TP_ACCOUNT_FEATURE_CORE prepared if possible
* @connection: a #TpConnection having %TP_CONNECTION_FEATURE_CORE prepared
* if possible