From b7d6a7384621691379618b0be22bef0f58b30414 Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Fri, 16 Nov 2007 15:03:10 +0000 Subject: And port all the callers in src/ svn path=/trunk/; revision=7695 --- src/prefs-dialog.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/prefs-dialog.c') diff --git a/src/prefs-dialog.c b/src/prefs-dialog.c index 150489d00..cef769b92 100644 --- a/src/prefs-dialog.c +++ b/src/prefs-dialog.c @@ -1,3 +1,4 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* * Copyright © 200-2003 Marco Pesenti Gritti * Copyright © 2003, 2004, 2005 Christian Persch @@ -24,6 +25,7 @@ #include "prefs-dialog.h" #include "ephy-dialog.h" #include "ephy-prefs.h" +#include "ephy-embed-container.h" #include "ephy-embed-shell.h" #include "ephy-favicon-cache.h" #include "ephy-session.h" @@ -1507,7 +1509,8 @@ prefs_homepage_current_button_clicked_cb (GtkWidget *button, /* can't do anything in this case */ if (window == NULL) return; - embed = ephy_window_get_active_tab (window); + embed = ephy_embed_container_get_active_child + (EPHY_EMBED_CONTAINER (window)); g_return_if_fail (embed != NULL); set_homepage_entry (dialog, ephy_embed_get_address (embed)); -- cgit v1.2.3