summaryrefslogtreecommitdiff
path: root/telepathy-glib/simple-handler.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-handler.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-handler.c')
-rw-r--r--telepathy-glib/simple-handler.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/telepathy-glib/simple-handler.c b/telepathy-glib/simple-handler.c
index 017c525e0..82188ebe1 100644
--- a/telepathy-glib/simple-handler.c
+++ b/telepathy-glib/simple-handler.c
@@ -30,7 +30,7 @@
* A typical simple handler would look liks this:
* |[
* static void
- * my_handle_channels (TpSimpleHandler *self,
+ * my_handle_channels (TpSimpleHandler *handler,
* TpAccount *account,
* TpConnection *connection,
* GList *channels,
@@ -79,7 +79,7 @@
/**
* TpSimpleHandlerHandleChannelsImpl:
- * @self: a #TpSimpleHandler instance
+ * @handler: a #TpSimpleHandler instance
* @account: a #TpAccount having %TP_ACCOUNT_FEATURE_CORE prepared if possible
* @connection: a #TpConnection having %TP_CONNECTION_FEATURE_CORE prepared
* if possible