[empathy: 8/9] rename channel_claim_cb to reject_channel_claim_cb



commit 247ea7a25d8495d2f1cd2b6ac2bf6fe582a3c5fb
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Fri Jun 18 11:23:45 2010 +0200

    rename channel_claim_cb to reject_channel_claim_cb

 src/empathy-event-manager.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/empathy-event-manager.c b/src/empathy-event-manager.c
index 4a19b52..7d144dd 100644
--- a/src/empathy-event-manager.c
+++ b/src/empathy-event-manager.c
@@ -352,7 +352,7 @@ event_update (EmpathyEventManager *manager, EventPriv *event,
 }
 
 static void
-channel_claim_cb (GObject *source,
+reject_channel_claim_cb (GObject *source,
     GAsyncResult *result,
     gpointer user_data)
 {
@@ -383,8 +383,9 @@ out:
 static void
 reject_approval (EventManagerApproval *approval)
 {
+  /* We have to claim the channel before closing it */
   tp_channel_dispatch_operation_claim_async (approval->operation,
-      channel_claim_cb, g_object_ref (approval->handler_instance));
+      reject_channel_claim_cb, g_object_ref (approval->handler_instance));
 }
 
 static void



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