aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-embed-shell.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2003-11-14 02:26:28 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2003-11-14 02:26:28 +0800
commitb086814a1ff6d94b29ae2185aebb22321da7e1a4 (patch)
treee46e46cf0fa82fe990ccdf9c3eb2eb3fd002a15d /embed/ephy-embed-shell.c
parent33be35697d5adebab76b93d863b127c300e8c7e5 (diff)
downloadgsoc2013-epiphany-b086814a1ff6d94b29ae2185aebb22321da7e1a4.tar.gz
gsoc2013-epiphany-b086814a1ff6d94b29ae2185aebb22321da7e1a4.tar.zst
gsoc2013-epiphany-b086814a1ff6d94b29ae2185aebb22321da7e1a4.zip
Put back borked mozilla alert.
2003-11-13 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-embed-shell.c: (ephy_embed_shell_get_embed_single): * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed-single.h: * src/ephy-shell.h: Put back borked mozilla alert.
Diffstat (limited to 'embed/ephy-embed-shell.c')
-rw-r--r--embed/ephy-embed-shell.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/embed/ephy-embed-shell.c b/embed/ephy-embed-shell.c
index e338a0c35..e15aba244 100644
--- a/embed/ephy-embed-shell.c
+++ b/embed/ephy-embed-shell.c
@@ -209,21 +209,7 @@ ephy_embed_shell_get_embed_single (EphyEmbedShell *shell)
if (!shell->priv->embed_single)
{
- EphyEmbedSingle *single;
- gboolean res;
-
- single = mozilla_embed_single_new ();
- res = mozilla_embed_single_init_services
- (MOZILLA_EMBED_SINGLE (single));
-
- if (res)
- {
- shell->priv->embed_single = single;
- }
- else
- {
- g_object_unref (single);
- }
+ shell->priv->embed_single = mozilla_embed_single_new ();
}
return shell->priv->embed_single;