aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-session.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ephy-session.c')
-rw-r--r--src/ephy-session.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ephy-session.c b/src/ephy-session.c
index cd318d264..7c91444e5 100644
--- a/src/ephy-session.c
+++ b/src/ephy-session.c
@@ -151,22 +151,22 @@ net_stop_cb (EphyEmbed *embed,
static void
tab_added_cb (GtkWidget *notebook,
- GtkWidget *child,
+ EphyTab *tab,
EphySession *session)
{
- g_signal_connect (child, "net_stop",
+ g_signal_connect (ephy_tab_get_embed (tab), "net_stop",
G_CALLBACK (net_stop_cb), session);
}
static void
tab_removed_cb (GtkWidget *notebook,
- GtkWidget *child,
+ EphyTab *tab,
EphySession *session)
{
ephy_session_save (session, SESSION_CRASHED);
g_signal_handlers_disconnect_by_func
- (child, G_CALLBACK (net_stop_cb), session);
+ (ephy_tab_get_embed (tab), G_CALLBACK (net_stop_cb), session);
}
static void