From c7dd14aef20e429135fba7c7a53a8d507b9579a3 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Tue, 21 Feb 2012 15:46:02 +0100 Subject: Stop approve StreamedMedia channels https://bugzilla.gnome.org/show_bug.cgi?id=629902 --- src/empathy-notifications-approver.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/empathy-notifications-approver.c') diff --git a/src/empathy-notifications-approver.c b/src/empathy-notifications-approver.c index 7a4f03731..bb7f6b458 100644 --- a/src/empathy-notifications-approver.c +++ b/src/empathy-notifications-approver.c @@ -25,8 +25,6 @@ #include #include -#include - #include #include @@ -190,12 +188,7 @@ add_notification_actions (EmpathyNotificationsApprover *self, self, NULL); break; - case EMPATHY_EVENT_TYPE_VOIP: case EMPATHY_EVENT_TYPE_CALL: - if (self->priv->event->type == EMPATHY_EVENT_TYPE_VOIP) - video = empathy_tp_streamed_media_has_initial_video ( - EMPATHY_TP_STREAMED_MEDIA (self->priv->event->handler_instance)); - else video = tp_call_channel_has_initial_video ( TP_CALL_CHANNEL (self->priv->event->handler_instance), NULL); @@ -260,7 +253,6 @@ notification_is_urgent (EmpathyNotificationsApprover *self, * interact ASAP */ switch (self->priv->event->type) { case EMPATHY_EVENT_TYPE_CHAT: - case EMPATHY_EVENT_TYPE_VOIP: case EMPATHY_EVENT_TYPE_CALL: case EMPATHY_EVENT_TYPE_TRANSFER: case EMPATHY_EVENT_TYPE_INVITATION: @@ -288,7 +280,6 @@ get_category_for_event_type (EmpathyEventType type) return "presence.online"; case EMPATHY_EVENT_TYPE_PRESENCE_OFFLINE: return "presence.offline"; - case EMPATHY_EVENT_TYPE_VOIP: case EMPATHY_EVENT_TYPE_CALL: return "x-empathy.call.incoming"; case EMPATHY_EVENT_TYPE_TRANSFER: -- cgit v1.2.3