aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <diegoe@igalia.com>2012-12-11 00:24:45 +0800
committerDiego Escalante Urrelo <diegoe@igalia.com>2012-12-11 01:08:40 +0800
commite65754da16f9af433cd90279b60855705855253a (patch)
tree1e9229965f9a2ff0552e202e2df91bee59dba928 /tests
parent43587a75794e27225c71d485620f875b12338ac1 (diff)
downloadgsoc2013-epiphany-e65754da16f9af433cd90279b60855705855253a.tar
gsoc2013-epiphany-e65754da16f9af433cd90279b60855705855253a.tar.gz
gsoc2013-epiphany-e65754da16f9af433cd90279b60855705855253a.tar.bz2
gsoc2013-epiphany-e65754da16f9af433cd90279b60855705855253a.tar.lz
gsoc2013-epiphany-e65754da16f9af433cd90279b60855705855253a.tar.xz
gsoc2013-epiphany-e65754da16f9af433cd90279b60855705855253a.tar.zst
gsoc2013-epiphany-e65754da16f9af433cd90279b60855705855253a.zip
e-embed-shell: remove the embed_shell global
https://bugzilla.gnome.org/show_bug.cgi?id=683614
Diffstat (limited to 'tests')
-rw-r--r--tests/ephy-embed-single-test.c1
-rw-r--r--tests/ephy-encodings-test.c1
-rw-r--r--tests/ephy-web-view-test.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/tests/ephy-embed-single-test.c b/tests/ephy-embed-single-test.c
index 0bd9a3047..a7f1583d9 100644
--- a/tests/ephy-embed-single-test.c
+++ b/tests/ephy-embed-single-test.c
@@ -45,6 +45,7 @@ test_embed_single_new (void)
static void
test_embed_single_get_from_shell (void)
{
+ EphyEmbedShell *embed_shell = ephy_embed_shell_get_default ();
EphyEmbedSingle *single;
single = EPHY_EMBED_SINGLE (ephy_embed_shell_get_embed_single (embed_shell));
diff --git a/tests/ephy-encodings-test.c b/tests/ephy-encodings-test.c
index fa743dd51..ec085bbe7 100644
--- a/tests/ephy-encodings-test.c
+++ b/tests/ephy-encodings-test.c
@@ -52,6 +52,7 @@ test_ephy_encodings_create (void)
static void
test_ephy_encodings_get (void)
{
+ EphyEmbedShell *embed_shell = ephy_embed_shell_get_default ();
EphyEncodings *encodings;
GList *all, *p;
diff --git a/tests/ephy-web-view-test.c b/tests/ephy-web-view-test.c
index d00189087..c26fa407d 100644
--- a/tests/ephy-web-view-test.c
+++ b/tests/ephy-web-view-test.c
@@ -407,6 +407,7 @@ test_ephy_web_view_error_pages_not_stored_in_history (void)
EphyWebView *view;
const char *bad_url;
EphyHistoryService *history_service;
+ EphyEmbedShell *embed_shell = ephy_embed_shell_get_default ();
view = EPHY_WEB_VIEW (ephy_web_view_new ());
loop = g_main_loop_new (NULL, FALSE);