summaryrefslogtreecommitdiff
path: root/telepathy-glib/text-channel.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-04-26 09:46:30 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-05-12 12:32:33 +0200
commitf0c3266b454a558e9bae86c3c360d5c64777583b (patch)
tree6ad102b03300561ee9ebe7a9ddaf16882c067b84 /telepathy-glib/text-channel.c
parent665ba3f8d0f24621d795234e82dc3f1432c95b0f (diff)
downloadtelepathy-glib-f0c3266b454a558e9bae86c3c360d5c64777583b.tar.gz
get_pending_messages_cb: cast from the TpProxy
That's equivalent as the weak object is the same pointer but a bit clearer.
Diffstat (limited to 'telepathy-glib/text-channel.c')
-rw-r--r--telepathy-glib/text-channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/telepathy-glib/text-channel.c b/telepathy-glib/text-channel.c
index 0ee4a68f9..48d9ca442 100644
--- a/telepathy-glib/text-channel.c
+++ b/telepathy-glib/text-channel.c
@@ -680,7 +680,7 @@ get_pending_messages_cb (TpProxy *proxy,
gpointer user_data,
GObject *weak_object)
{
- TpTextChannel *self = (TpTextChannel *) weak_object;
+ TpTextChannel *self = (TpTextChannel *) proxy;
GSimpleAsyncResult *result = user_data;
guint i;
GPtrArray *messages;