From 23bfa8e617322d97832303492b03ddfef9184ef7 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Wed, 13 Jan 2010 10:12:03 +0000 Subject: [PATCH] Use the proper enum value when checking FsMediaType FS_MEDIA_TYPE_VIDEO and TP_MEDIA_STREAM_TYPE_VIDEO have actually the same value but newer versions of gcc are smarter and detect this kind of bug. --- src/empathy-call-window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c index 6b372d78..8b7af2dc 100644 --- a/src/empathy-call-window.c +++ b/src/empathy-call-window.c @@ -1432,7 +1432,7 @@ empathy_call_window_request_resource_cb (EmpathyCallHandler *handler, EmpathyCallWindow *self = EMPATHY_CALL_WINDOW (user_data); EmpathyCallWindowPriv *priv = GET_PRIV (self); - if (type != TP_MEDIA_STREAM_TYPE_VIDEO) + if (type != FS_MEDIA_TYPE_VIDEO) return TRUE; if (direction == FS_DIRECTION_RECV) -- 2.39.2