[empathy] Use the proper enum value when checking FsMediaType
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [empathy] Use the proper enum value when checking FsMediaType
- Date: Wed, 13 Jan 2010 10:14:06 +0000 (UTC)
commit 23bfa8e617322d97832303492b03ddfef9184ef7
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Wed Jan 13 10:12:03 2010 +0000
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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 6b372d7..8b7af2d 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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]