aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ephy-session-test.c
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2013-02-08 04:00:06 +0800
committerXan Lopez <xan@igalia.com>2013-02-08 04:00:06 +0800
commit370d8d7a79ee3b4270f67fe4664875b288a6f89a (patch)
treea28e19b27d49dfd9bbc8464b245abf337f0a62ff /tests/ephy-session-test.c
parentb0fff802887880765e36bbfb8ff56c91ecc4666e (diff)
downloadgsoc2013-epiphany-370d8d7a79ee3b4270f67fe4664875b288a6f89a.tar
gsoc2013-epiphany-370d8d7a79ee3b4270f67fe4664875b288a6f89a.tar.gz
gsoc2013-epiphany-370d8d7a79ee3b4270f67fe4664875b288a6f89a.tar.bz2
gsoc2013-epiphany-370d8d7a79ee3b4270f67fe4664875b288a6f89a.tar.lz
gsoc2013-epiphany-370d8d7a79ee3b4270f67fe4664875b288a6f89a.tar.xz
gsoc2013-epiphany-370d8d7a79ee3b4270f67fe4664875b288a6f89a.tar.zst
gsoc2013-epiphany-370d8d7a79ee3b4270f67fe4664875b288a6f89a.zip
ephy-shell: return the proper types for EphySession and GNetworkMonitor
Diffstat (limited to 'tests/ephy-session-test.c')
-rw-r--r--tests/ephy-session-test.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/ephy-session-test.c b/tests/ephy-session-test.c
index 6fb2c6eab..9d2d7c725 100644
--- a/tests/ephy-session-test.c
+++ b/tests/ephy-session-test.c
@@ -80,7 +80,7 @@ test_ephy_session_load (void)
EphyEmbed *embed;
EphyWebView *view;
- session = EPHY_SESSION (ephy_shell_get_session (ephy_shell_get_default ()));
+ session = ephy_shell_get_session (ephy_shell_get_default ());
g_assert (session);
ret = load_session_from_string (session, session_data);
@@ -115,7 +115,7 @@ test_ephy_session_load_empty_session (void)
EphyEmbed *embed;
EphyWebView *view;
- session = EPHY_SESSION (ephy_shell_get_session (ephy_shell_get_default ()));
+ session = ephy_shell_get_session (ephy_shell_get_default ());
g_assert (session);
ret = load_session_from_string (session, session_data_empty);
@@ -165,7 +165,7 @@ test_ephy_session_load_many_windows (void)
EphyEmbed *embed;
EphyWebView *view;
- session = EPHY_SESSION (ephy_shell_get_session (ephy_shell_get_default ()));
+ session = ephy_shell_get_session (ephy_shell_get_default ());
g_assert (session);
ret = load_session_from_string (session, session_data_many_windows);
@@ -198,7 +198,7 @@ open_uris_after_loading_session (const char** uris, int final_num_windows)
EphyWebView *view;
guint32 user_time;
- session = EPHY_SESSION (ephy_shell_get_session (ephy_shell_get_default ()));
+ session = ephy_shell_get_session (ephy_shell_get_default ());
g_assert (session);
user_time = gdk_x11_display_get_user_time (gdk_display_get_default ());