From: Guillaume Desmottes Date: Wed, 13 Jan 2010 10:12:03 +0000 (+0000) Subject: Use the proper enum value when checking FsMediaType X-Git-Url: https://git.0d.be/?p=empathy.git;a=commitdiff_plain;h=23bfa8e617322d97832303492b03ddfef9184ef7 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. --- 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)