aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-embed-shell.c
diff options
context:
space:
mode:
authorXan Lopez <xan@gnome.org>2009-06-06 05:04:24 +0800
committerXan Lopez <xan@gnome.org>2009-06-06 05:04:24 +0800
commit23fa2e15713edb80aadf60df21dda1795dfab74d (patch)
treeef9c99f535d2010379f6a13c4e0d318ac7277bd2 /embed/ephy-embed-shell.c
parent914b6f95e19447d1b25209b9bb3cda2942513775 (diff)
downloadgsoc2013-epiphany-23fa2e15713edb80aadf60df21dda1795dfab74d.tar
gsoc2013-epiphany-23fa2e15713edb80aadf60df21dda1795dfab74d.tar.gz
gsoc2013-epiphany-23fa2e15713edb80aadf60df21dda1795dfab74d.tar.bz2
gsoc2013-epiphany-23fa2e15713edb80aadf60df21dda1795dfab74d.tar.lz
gsoc2013-epiphany-23fa2e15713edb80aadf60df21dda1795dfab74d.tar.xz
gsoc2013-epiphany-23fa2e15713edb80aadf60df21dda1795dfab74d.tar.zst
gsoc2013-epiphany-23fa2e15713edb80aadf60df21dda1795dfab74d.zip
Get rid of EphyEmbedFactory.
It's useless now, since there's only one backend.
Diffstat (limited to 'embed/ephy-embed-shell.c')
-rw-r--r--embed/ephy-embed-shell.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/embed/ephy-embed-shell.c b/embed/ephy-embed-shell.c
index b84e2eef3..7ead872f8 100644
--- a/embed/ephy-embed-shell.c
+++ b/embed/ephy-embed-shell.c
@@ -28,7 +28,6 @@
#include "downloader-view.h"
#include "ephy-adblock-manager.h"
#include "ephy-debug.h"
-#include "ephy-embed-factory.h"
#include "ephy-embed-shell.h"
#include "ephy-embed-single.h"
#include "ephy-encodings.h"
@@ -228,7 +227,7 @@ impl_get_embed_single (EphyEmbedShell *shell)
if (priv->embed_single == NULL)
{
priv->embed_single = EPHY_EMBED_SINGLE
- (ephy_embed_factory_new_object (EPHY_TYPE_EMBED_SINGLE));
+ (g_object_new (EPHY_TYPE_EMBED_SINGLE, NULL));
g_assert (priv->embed_single != NULL);
if (!ephy_embed_single_initialize (priv->embed_single))