aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-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 /src/ephy-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 'src/ephy-shell.c')
-rw-r--r--src/ephy-shell.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ephy-shell.c b/src/ephy-shell.c
index 614d88d7f..fe603f44b 100644
--- a/src/ephy-shell.c
+++ b/src/ephy-shell.c
@@ -56,7 +56,6 @@
#include "ephy-prefs.h"
#include "ephy-gui.h"
#include "ephy-stock-icons.h"
-#include "ephy-embed-factory.h"
#include "ephy-web-view.h"
#ifdef ENABLE_NETWORK_MANAGER
@@ -483,7 +482,7 @@ ephy_shell_new_tab_full (EphyShell *shell,
}
if (active_is_blank == FALSE)
{
- embed = EPHY_EMBED (ephy_embed_factory_new_object (EPHY_TYPE_EMBED));
+ embed = EPHY_EMBED (g_object_new (EPHY_TYPE_EMBED, NULL));
g_assert (embed != NULL);
gtk_widget_show (GTK_WIDGET (embed));