aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ephy-window.c')
-rw-r--r--src/ephy-window.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 562c3f3a8..2916b9efd 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -55,7 +55,6 @@
#include "ephy-action-helper.h"
#include "ephy-find-toolbar.h"
#include "ephy-embed-persist.h"
-#include "ephy-embed-factory.h"
#include "ephy-location-entry.h"
#include "ephy-web-view.h"
@@ -2292,7 +2291,7 @@ save_property_url (EphyEmbed *embed,
if (!ephy_embed_utils_address_has_web_scheme (location)) return FALSE;
persist = EPHY_EMBED_PERSIST
- (ephy_embed_factory_new_object (EPHY_TYPE_EMBED_PERSIST));
+ (g_object_new (EPHY_TYPE_EMBED_PERSIST, NULL));
ephy_embed_persist_set_embed (persist, embed);
ephy_embed_persist_set_flags (persist, 0);