From 370d8d7a79ee3b4270f67fe4664875b288a6f89a Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Thu, 7 Feb 2013 21:00:06 +0100 Subject: ephy-shell: return the proper types for EphySession and GNetworkMonitor --- src/ephy-window.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ephy-window.c') diff --git a/src/ephy-window.c b/src/ephy-window.c index 548df0233..ea183594e 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -1697,7 +1697,7 @@ sync_network_status (EphyEmbedSingle *single, GtkAction *action; gboolean is_online; - GNetworkMonitor *monitor = G_NETWORK_MONITOR (ephy_shell_get_net_monitor (ephy_shell_get_default ())); + GNetworkMonitor *monitor = ephy_shell_get_net_monitor (ephy_shell_get_default ()); is_online = g_network_monitor_get_network_available (monitor); action = gtk_action_group_get_action (priv->action_group, @@ -4422,7 +4422,7 @@ ephy_window_close (EphyWindow *window) /* If this is the last window, save its state in the session. */ if (ephy_shell_get_n_windows (ephy_shell_get_default ()) == 1) { - ephy_session_close (EPHY_SESSION (ephy_shell_get_session (ephy_shell_get_default ()))); + ephy_session_close (ephy_shell_get_session (ephy_shell_get_default ())); } /* See bug #114689 */ -- cgit v1.2.3