diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-01-13 18:12:03 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-01-13 18:12:03 +0800 |
commit | 23bfa8e617322d97832303492b03ddfef9184ef7 (patch) | |
tree | 50a654845850358b2776e4e5341ce8ea1eceacf0 | |
parent | f6aaf7478dd61a3696cc27a225a206ec89076a16 (diff) | |
download | gsoc2013-empathy-23bfa8e617322d97832303492b03ddfef9184ef7.tar gsoc2013-empathy-23bfa8e617322d97832303492b03ddfef9184ef7.tar.gz gsoc2013-empathy-23bfa8e617322d97832303492b03ddfef9184ef7.tar.bz2 gsoc2013-empathy-23bfa8e617322d97832303492b03ddfef9184ef7.tar.lz gsoc2013-empathy-23bfa8e617322d97832303492b03ddfef9184ef7.tar.xz gsoc2013-empathy-23bfa8e617322d97832303492b03ddfef9184ef7.tar.zst gsoc2013-empathy-23bfa8e617322d97832303492b03ddfef9184ef7.zip |
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.
-rw-r--r-- | 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 6b372d78a..8b7af2dcf 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) |