[gnome-maps] utils: Remove unused argument



commit bb68e9be55d4d3cdbce816b03b86f8f0179f44bc
Author: Marcus Lundblad <ml update uu se>
Date:   Mon Nov 6 22:05:02 2017 +0100

    utils: Remove unused argument
    
    https://bugzilla.gnome.org/show_bug.cgi?id=782861

 src/utils.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/utils.js b/src/utils.js
index c69f77d..4c68f14 100644
--- a/src/utils.js
+++ b/src/utils.js
@@ -256,7 +256,7 @@ function _load_icon(icon, loadCompleteCallback) {
 
     icon.load_async(-1, null, function(icon, res) {
         try {
-            let stream = icon.load_finish(res, null)[0];
+            let stream = icon.load_finish(res)[0];
             let pixbuf = GdkPixbuf.Pixbuf.new_from_stream(stream, null);
 
             loadCompleteCallback(pixbuf);


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