[empathy/gnome-2-34] media_type is of type FsMediaType, so use that enum to compare



commit 0fbfa19469d0ace2b6ac0b11e2176a1088fef64b
Author: Sjoerd Simons <sjoerd simons collabora co uk>
Date:   Wed Mar 9 18:33:02 2011 +0000

    media_type is of type FsMediaType, so use that enum to compare

 src/empathy-call-window.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 77653ff..ef62223 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)
         {



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