diff options
author | Xan Lopez <xan@igalia.com> | 2013-02-08 04:00:06 +0800 |
---|---|---|
committer | Xan Lopez <xan@igalia.com> | 2013-02-08 04:00:06 +0800 |
commit | 370d8d7a79ee3b4270f67fe4664875b288a6f89a (patch) | |
tree | a28e19b27d49dfd9bbc8464b245abf337f0a62ff /src/ephy-window.c | |
parent | b0fff802887880765e36bbfb8ff56c91ecc4666e (diff) | |
download | gsoc2013-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 'src/ephy-window.c')
-rw-r--r-- | src/ephy-window.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 */ |