diff options
author | Cosimo Alfarano <cosimo.alfarano@collabora.co.uk> | 2010-02-15 13:42:01 +0000 |
---|---|---|
committer | Cosimo Alfarano <cosimo.alfarano@collabora.co.uk> | 2010-02-15 15:28:04 +0000 |
commit | 0c158367a90a808bb0798b06f02d2f79949fe699 (patch) | |
tree | 5f676f5df5e090ff3554303aa9e99de5ba93f705 | |
parent | f52fa900937fcf04f220a76c5fb66e61530534e2 (diff) |
Passing NULL for unused handle_type calling tp_channel_get_handle
-rw-r--r-- | telepathy-logger/channel-text.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/telepathy-logger/channel-text.c b/telepathy-logger/channel-text.c index 9e890af24..de17003ad 100644 --- a/telepathy-logger/channel-text.c +++ b/telepathy-logger/channel-text.c @@ -161,13 +161,11 @@ pendingproc_get_remote_contact (TplActionChain *ctx) { TplChannelText *tpl_text = tpl_actionchain_get_object (ctx); TplChannel *tpl_chan = TPL_CHANNEL (tpl_text); - TpHandleType remote_handle_type; TpHandle remote_handle; TpConnection *tp_conn = tp_channel_borrow_connection (TP_CHANNEL ( tpl_chan)); - remote_handle = tp_channel_get_handle (TP_CHANNEL (tpl_chan), - &remote_handle_type); + remote_handle = tp_channel_get_handle (TP_CHANNEL (tpl_chan), NULL); GET_PRIV (tpl_text)->selector = TP_CONTACT_REMOTE; tp_connection_get_contacts_by_handle (tp_conn, 1, &remote_handle, |