From 33ad9d103563b2ab4b30d8711e23abef4f27ad1a Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Thu, 24 May 2012 12:23:37 -0400 Subject: [PATCH] extensionSystem: Clean up https://bugzilla.gnome.org/show_bug.cgi?id=676837 --- js/ui/extensionSystem.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/js/ui/extensionSystem.js b/js/ui/extensionSystem.js index 2f2b423e9..9435092cf 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;