[empathy/gnome-2-28] Use the proper enum value when checking FsMediaType
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [empathy/gnome-2-28] Use the proper enum value when checking FsMediaType
- Date: Wed, 13 Jan 2010 10:13:42 +0000 (UTC)
commit b6d74e4da3a4369cba33f82d2230ee5b78ff07c5
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Wed Jan 13 10:07:02 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 0644a14..0046543 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -1194,7 +1194,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]