[empathy: 2/8] Use a tp-glib constant rather than a magic number.
- From: Jonny Lamb <jonnylamb src gnome org>
- To: svn-commits-list gnome org
- Subject: [empathy: 2/8] Use a tp-glib constant rather than a magic number.
- Date: Sat, 25 Apr 2009 06:20:49 -0400 (EDT)
commit 359783484982228a9e7b87749910afc93b04a919
Author: Jonny Lamb <jonny lamb collabora co uk>
Date: Fri Apr 24 22:31:17 2009 +0100
Use a tp-glib constant rather than a magic number.
Signed-off-by: Jonny Lamb <jonny lamb collabora co uk>
---
libempathy/empathy-tp-file.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libempathy/empathy-tp-file.c b/libempathy/empathy-tp-file.c
index b5e37f2..23f7c8c 100644
--- a/libempathy/empathy-tp-file.c
+++ b/libempathy/empathy-tp-file.c
@@ -566,7 +566,7 @@ static void
tp_file_check_if_ready (EmpathyTpFile *tp_file)
{
if (tp_file->priv->ready || tp_file->priv->contact == NULL ||
- tp_file->priv->state == 0)
+ tp_file->priv->state == TP_FILE_TRANSFER_STATE_NONE)
return;
tp_file->priv->ready = TRUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]