diff options
author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2009-04-25 05:31:17 +0800 |
---|---|---|
committer | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2009-04-25 05:31:17 +0800 |
commit | 359783484982228a9e7b87749910afc93b04a919 (patch) | |
tree | a898f5f9c366e82a152fd401b1aad706deeb66b6 /libempathy/empathy-tp-file.c | |
parent | 0786a22de22d8a6ac1c0cfdfdcf847783ca5a877 (diff) | |
download | gsoc2013-empathy-359783484982228a9e7b87749910afc93b04a919.tar gsoc2013-empathy-359783484982228a9e7b87749910afc93b04a919.tar.gz gsoc2013-empathy-359783484982228a9e7b87749910afc93b04a919.tar.bz2 gsoc2013-empathy-359783484982228a9e7b87749910afc93b04a919.tar.lz gsoc2013-empathy-359783484982228a9e7b87749910afc93b04a919.tar.xz gsoc2013-empathy-359783484982228a9e7b87749910afc93b04a919.tar.zst gsoc2013-empathy-359783484982228a9e7b87749910afc93b04a919.zip |
Use a tp-glib constant rather than a magic number.
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Diffstat (limited to 'libempathy/empathy-tp-file.c')
-rw-r--r-- | 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 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; |