diff options
author | Diego Escalante Urrelo <diegoe@igalia.com> | 2012-12-10 11:48:36 -0500 |
---|---|---|
committer | Diego Escalante Urrelo <diegoe@igalia.com> | 2012-12-10 12:09:44 -0500 |
commit | 533c34899f09a1fa0e80aa198bd72ec2a90b1689 (patch) | |
tree | f11f94d4c0e12703cd3a1d1379ccdea6e0cbe852 /tests/ephy-encodings-test.c | |
parent | e65754da16f9af433cd90279b60855705855253a (diff) | |
download | epiphany-533c34899f09a1fa0e80aa198bd72ec2a90b1689.tar.gz |
ephy-shell: remove the ephy_shell global
https://bugzilla.gnome.org/show_bug.cgi?id=683614
Diffstat (limited to 'tests/ephy-encodings-test.c')
-rw-r--r-- | tests/ephy-encodings-test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ephy-encodings-test.c b/tests/ephy-encodings-test.c index ec085bbe7..ffa88e5ab 100644 --- a/tests/ephy-encodings-test.c +++ b/tests/ephy-encodings-test.c @@ -90,7 +90,7 @@ main (int argc, char *argv[]) } _ephy_shell_create_instance (EPHY_EMBED_SHELL_MODE_TEST); - g_assert (ephy_shell); + g_assert (ephy_shell_get_default ()); g_test_add_func ("/src/ephy-encodings/create", test_ephy_encodings_create); @@ -101,7 +101,7 @@ main (int argc, char *argv[]) ret = g_test_run (); ephy_file_helpers_shutdown (); - g_object_unref (ephy_shell); + g_object_unref (ephy_shell_get_default ()); return ret; } |