aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2012-12-11 22:26:36 +0800
committerDan Winship <danw@gnome.org>2012-12-11 22:28:21 +0800
commitd0f63175cd63c2b118b4b9718ad35dc8aa5c36a4 (patch)
tree2ab1b25f5574d3f6292e586cda7c22133ba9a429
parenta35ce8bc1a1483d95e957e3c4be245884d4f879a (diff)
downloadgsoc2013-epiphany-d0f63175cd63c2b118b4b9718ad35dc8aa5c36a4.tar
gsoc2013-epiphany-d0f63175cd63c2b118b4b9718ad35dc8aa5c36a4.tar.gz
gsoc2013-epiphany-d0f63175cd63c2b118b4b9718ad35dc8aa5c36a4.tar.bz2
gsoc2013-epiphany-d0f63175cd63c2b118b4b9718ad35dc8aa5c36a4.tar.lz
gsoc2013-epiphany-d0f63175cd63c2b118b4b9718ad35dc8aa5c36a4.tar.xz
gsoc2013-epiphany-d0f63175cd63c2b118b4b9718ad35dc8aa5c36a4.tar.zst
gsoc2013-epiphany-d0f63175cd63c2b118b4b9718ad35dc8aa5c36a4.zip
ephy-embed: fix registration of EphyRequestAbout
The way it was before is supposed to still work (and so needs to be fixed in libsoup), but this way is more right anyway.
-rw-r--r--embed/ephy-embed-single.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed/ephy-embed-single.c b/embed/ephy-embed-single.c
index 0c36e502c..937364ebc 100644
--- a/embed/ephy-embed-single.c
+++ b/embed/ephy-embed-single.c
@@ -497,7 +497,7 @@ ephy_embed_single_initialize (EphyEmbedSingle *single)
/* about: URIs handler */
requester = SOUP_SESSION_FEATURE (soup_requester_new());
soup_session_add_feature (session, requester);
- soup_session_feature_add_feature (requester, EPHY_TYPE_REQUEST_ABOUT);
+ soup_session_add_feature_by_type (session, EPHY_TYPE_REQUEST_ABOUT);
g_object_unref (requester);
#ifdef SOUP_TYPE_PASSWORD_MANAGER_GNOME