From 0fbfa19469d0ace2b6ac0b11e2176a1088fef64b Mon Sep 17 00:00:00 2001 From: Sjoerd Simons Date: Wed, 9 Mar 2011 18:33:02 +0000 Subject: media_type is of type FsMediaType, so use that enum to compare --- src/empathy-call-window.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/empathy-call-window.c') diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c index 77653ffff..ef6222344 100644 --- a/src/empathy-call-window.c +++ b/src/empathy-call-window.c @@ -1937,7 +1937,7 @@ empathy_call_window_sink_removed_cb (EmpathyCallHandler *handler, * This assumes that there is only one video stream per channel... */ - if (media_type == TP_MEDIA_STREAM_TYPE_VIDEO) + if (media_type == FS_MEDIA_TYPE_VIDEO) { if (priv->funnel != NULL) { @@ -1955,7 +1955,7 @@ empathy_call_window_sink_removed_cb (EmpathyCallHandler *handler, return TRUE; } } - else if (media_type == TP_MEDIA_STREAM_TYPE_AUDIO) + else if (media_type == FS_MEDIA_TYPE_AUDIO) { if (priv->liveadder != NULL) { -- cgit v1.2.3