From 359783484982228a9e7b87749910afc93b04a919 Mon Sep 17 00:00:00 2001 From: Jonny Lamb Date: Fri, 24 Apr 2009 22:31:17 +0100 Subject: Use a tp-glib constant rather than a magic number. Signed-off-by: Jonny Lamb --- libempathy/empathy-tp-file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libempathy') diff --git a/libempathy/empathy-tp-file.c b/libempathy/empathy-tp-file.c index b5e37f280..23f7c8c41 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; -- cgit v1.2.3