diff options
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; } |