changeset 32335:0a043c8747c5

Sametime: Use file-transfer accessor functions
author andrew.victor@mxit.com
date Sun, 30 Oct 2011 15:56:56 +0000
parents 189b9a516d5d
children c7a6b7b6c32f
files libpurple/protocols/sametime/sametime.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/sametime/sametime.c	Sun Oct 30 15:55:56 2011 +0000
+++ b/libpurple/protocols/sametime/sametime.c	Sun Oct 30 15:56:56 2011 +0000
@@ -2351,7 +2351,7 @@
 
   xfer = mwFileTransfer_getClientData(ft);
   g_return_if_fail(xfer != NULL);
-  g_return_if_fail(xfer->watcher == 0);
+  g_return_if_fail(purple_xfer_get_watcher(xfer) == 0);
 
   if(! mwFileTransfer_getRemaining(ft)) {
     purple_xfer_set_completed(xfer, TRUE);