[empathy] event-manager: Don't use an enum as a TpChannel pointer



commit 0bd09aa897830b8583119ace795a7a83863ae348
Author: Ting-Wei Lan <lantw src gnome org>
Date:   Fri Feb 26 23:23:30 2016 +0800

    event-manager: Don't use an enum as a TpChannel pointer
    
    https://bugzilla.gnome.org/show_bug.cgi?id=762738

 src/empathy-event-manager.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/empathy-event-manager.c b/src/empathy-event-manager.c
index f7b4b4f..918b756 100644
--- a/src/empathy-event-manager.c
+++ b/src/empathy-event-manager.c
@@ -798,7 +798,7 @@ approve_text_channel (EmpathyEventManager *self,
         {
           /* We are invited to a room */
           DEBUG ("Have been invited to %s. Ask user if he wants to accept",
-              tp_channel_get_identifier (TP_CHANNEL_GROUP_CHANGE_REASON_NONE));
+              tp_channel_get_identifier (TP_CHANNEL (tp_chat)));
 
           if (inviter != NULL)
             {


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