[epiphany] ephy-embed: fix registration of EphyRequestAbout
- From: Dan Winship <danw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] ephy-embed: fix registration of EphyRequestAbout
- Date: Tue, 11 Dec 2012 14:29:57 +0000 (UTC)
commit d0f63175cd63c2b118b4b9718ad35dc8aa5c36a4
Author: Dan Winship <danw gnome org>
Date: Tue Dec 11 15:26:36 2012 +0100
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.
embed/ephy-embed-single.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/embed/ephy-embed-single.c b/embed/ephy-embed-single.c
index 0c36e50..937364e 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]