summaryrefslogtreecommitdiff
path: root/libsoup/cache/soup-cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'libsoup/cache/soup-cache.c')
-rw-r--r--libsoup/cache/soup-cache.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libsoup/cache/soup-cache.c b/libsoup/cache/soup-cache.c
index 5a00467c..1144b5b0 100644
--- a/libsoup/cache/soup-cache.c
+++ b/libsoup/cache/soup-cache.c
@@ -50,7 +50,6 @@
* #SoupCache implements a file-based cache for HTTP resources.
*/
-static SoupSessionFeatureInterface *soup_cache_default_feature_interface;
static void soup_cache_session_feature_init (SoupSessionFeatureInterface *feature_interface, gpointer interface_data);
static SoupContentProcessorInterface *soup_cache_default_content_processor_interface;
@@ -755,17 +754,12 @@ attach (SoupSessionFeature *feature, SoupSession *session)
SoupCache *cache = SOUP_CACHE (feature);
SoupCachePrivate *priv = soup_cache_get_instance_private (cache);
priv->session = session;
-
- soup_cache_default_feature_interface->attach (feature, session);
}
static void
soup_cache_session_feature_init (SoupSessionFeatureInterface *feature_interface,
gpointer interface_data)
{
- soup_cache_default_feature_interface =
- g_type_default_interface_peek (SOUP_TYPE_SESSION_FEATURE);
-
feature_interface->attach = attach;
feature_interface->request_queued = request_queued;
}