aboutsummaryrefslogtreecommitdiffstats
path: root/src/window-commands.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/window-commands.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/window-commands.c')
-rw-r--r--src/window-commands.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/window-commands.c b/src/window-commands.c
index 66bf63b55..eb39dc618 100644
--- a/src/window-commands.c
+++ b/src/window-commands.c
@@ -25,7 +25,6 @@
#include "ephy-embed-single.h"
#include "ephy-embed-utils.h"
#include "ephy-shell.h"
-#include "ephy-embed-factory.h"
#include "ephy-embed-persist.h"
#include "ephy-debug.h"
#include "ephy-command-manager.h"
@@ -305,7 +304,7 @@ window_cmd_file_save_as (GtkAction *action,
g_return_if_fail (embed != NULL);
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_fc_title (persist, _("Save As"));
@@ -636,7 +635,7 @@ save_temp_source (EphyEmbed *embed,
}
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, EPHY_EMBED_PERSIST_COPY_PAGE |