aboutsummaryrefslogtreecommitdiffstats
path: root/src/prefs-dialog.c
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2007-11-16 23:03:10 +0800
committerXan Lopez <xan@src.gnome.org>2007-11-16 23:03:10 +0800
commitb7d6a7384621691379618b0be22bef0f58b30414 (patch)
tree378d3377f3290f3461b23f25349579077ff0bdb3 /src/prefs-dialog.c
parent1b8bf4b88fb016020c822e5a9208a89ed8ebbdc4 (diff)
downloadgsoc2013-epiphany-b7d6a7384621691379618b0be22bef0f58b30414.tar.gz
gsoc2013-epiphany-b7d6a7384621691379618b0be22bef0f58b30414.tar.zst
gsoc2013-epiphany-b7d6a7384621691379618b0be22bef0f58b30414.zip
And port all the callers in src/
svn path=/trunk/; revision=7695
Diffstat (limited to 'src/prefs-dialog.c')
-rw-r--r--src/prefs-dialog.c5
1 files changed, 4 insertions, 1 deletions
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));