[rhythmbox] loader: fix incorrect variable name in gio chunk loader (bug #594124)



commit 683a2600d27cb274f91e44dd72287f65e751625c
Author: segler <segler_alex web de>
Date:   Sat Sep 5 10:45:23 2009 +1000

    loader: fix incorrect variable name in gio chunk loader (bug #594124)

 plugins/rb/Loader.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/rb/Loader.py b/plugins/rb/Loader.py
index b1fa8f5..fc60560 100644
--- a/plugins/rb/Loader.py
+++ b/plugins/rb/Loader.py
@@ -140,7 +140,7 @@ class GioChunkLoader(object):
 			if want_size:
 				file.query_info_async(self._info_cb, gio.FILE_ATTRIBUTE_STANDARD_SIZE, cancellable=self._cancel)
 			else:
-				file.read_async(self._open_cb, cancellable=self.cancel)
+				file.read_async(self._open_cb, cancellable=self._cancel)
 		except gio.Error, e:
 			print "error reading file %s: %s" % (uri, e.message)
 			self._callback(e)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]