aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2011-03-10 02:33:02 +0800
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2011-03-10 02:33:02 +0800
commit0fbfa19469d0ace2b6ac0b11e2176a1088fef64b (patch)
tree8102f84995f6c5a22b644cf88d9e740f6c2920fa
parente619a7b070c4e7b19d2398068eca480887e82ce0 (diff)
downloadgsoc2013-empathy-0fbfa19469d0ace2b6ac0b11e2176a1088fef64b.tar
gsoc2013-empathy-0fbfa19469d0ace2b6ac0b11e2176a1088fef64b.tar.gz
gsoc2013-empathy-0fbfa19469d0ace2b6ac0b11e2176a1088fef64b.tar.bz2
gsoc2013-empathy-0fbfa19469d0ace2b6ac0b11e2176a1088fef64b.tar.lz
gsoc2013-empathy-0fbfa19469d0ace2b6ac0b11e2176a1088fef64b.tar.xz
gsoc2013-empathy-0fbfa19469d0ace2b6ac0b11e2176a1088fef64b.tar.zst
gsoc2013-empathy-0fbfa19469d0ace2b6ac0b11e2176a1088fef64b.zip
media_type is of type FsMediaType, so use that enum to compare
-rw-r--r--src/empathy-call-window.c4
1 files changed, 2 insertions, 2 deletions
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)
{