diff options
author | Xan Lopez <xan@src.gnome.org> | 2007-11-16 23:03:10 +0800 |
---|---|---|
committer | Xan Lopez <xan@src.gnome.org> | 2007-11-16 23:03:10 +0800 |
commit | b7d6a7384621691379618b0be22bef0f58b30414 (patch) | |
tree | 378d3377f3290f3461b23f25349579077ff0bdb3 /src/prefs-dialog.c | |
parent | 1b8bf4b88fb016020c822e5a9208a89ed8ebbdc4 (diff) | |
download | gsoc2013-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.c | 5 |
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)); |