[gnome-shell] extensionDownloader: return tuple of string on success



commit 3bf89055e3c9a733086360aa7885b6a421f079d4
Author: Yuri Konotopov <ykonotopov gnome org>
Date:   Wed Feb 15 23:14:23 2017 +0400

    extensionDownloader: return tuple of string on success
    
    Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=777544

 js/ui/extensionDownloader.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/extensionDownloader.js b/js/ui/extensionDownloader.js
index 602b496..0b026d2 100644
--- a/js/ui/extensionDownloader.js
+++ b/js/ui/extensionDownloader.js
@@ -252,7 +252,7 @@ const InstallExtensionDialog = new Lang.Class({
                 return;
             }
 
-            invocation.return_value(GLib.Variant.new('(s)', 'successful'));
+            invocation.return_value(GLib.Variant.new('(s)', ['successful']));
         }
 
         _httpSession.queue_message(message, Lang.bind(this, function(session, message) {


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