[gnome-shell] extensionSystem: Clean up



commit 33ad9d103563b2ab4b30d8711e23abef4f27ad1a
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Thu May 24 12:23:37 2012 -0400

    extensionSystem: Clean up
    
    https://bugzilla.gnome.org/show_bug.cgi?id=676837

 js/ui/extensionSystem.js |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/js/ui/extensionSystem.js b/js/ui/extensionSystem.js
index 2f2b423..9435092 100644
--- a/js/ui/extensionSystem.js
+++ b/js/ui/extensionSystem.js
@@ -36,12 +36,9 @@ const REPOSITORY_URL_INFO =     REPOSITORY_URL_BASE + '/extension-info/';
 
 const _httpSession = new Soup.SessionAsync({ ssl_use_system_ca_file: true });
 
-// The unfortunate state of gjs, gobject-introspection and libsoup
-// means that I have to do a hack to add a feature.
 // See: https://bugzilla.gnome.org/show_bug.cgi?id=655189 for context.
-
-if (Soup.Session.prototype.add_feature != null)
-    Soup.Session.prototype.add_feature.call(_httpSession, new Soup.ProxyResolverDefault());
+// _httpSession.add_feature(new Soup.ProxyResolverDefault());
+Soup.Session.prototype.add_feature.call(_httpSession, new Soup.ProxyResolverDefault());
 
 // Arrays of uuids
 var enabledExtensions;



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