aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian Persch <chpe@src.gnome.org>2007-10-28 22:06:49 +0800
committerChristian Persch <chpe@src.gnome.org>2007-10-28 22:06:49 +0800
commit6fedc1d89f49191c0d7cc9a3cb6b47a253e88ca6 (patch)
treed01c9840b709fdb62be0999ad6a58b315d500986 /src
parent7a8d61ebfd3e23715395e6e5955aabc7812c504e (diff)
downloadgsoc2013-epiphany-6fedc1d89f49191c0d7cc9a3cb6b47a253e88ca6.tar
gsoc2013-epiphany-6fedc1d89f49191c0d7cc9a3cb6b47a253e88ca6.tar.gz
gsoc2013-epiphany-6fedc1d89f49191c0d7cc9a3cb6b47a253e88ca6.tar.bz2
gsoc2013-epiphany-6fedc1d89f49191c0d7cc9a3cb6b47a253e88ca6.tar.lz
gsoc2013-epiphany-6fedc1d89f49191c0d7cc9a3cb6b47a253e88ca6.tar.xz
gsoc2013-epiphany-6fedc1d89f49191c0d7cc9a3cb6b47a253e88ca6.tar.zst
gsoc2013-epiphany-6fedc1d89f49191c0d7cc9a3cb6b47a253e88ca6.zip
Remove EphyTab
svn path=/trunk/; revision=7601
Diffstat (limited to 'src')
-rw-r--r--src/prefs-dialog.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/prefs-dialog.c b/src/prefs-dialog.c
index 19e66fd74..150489d00 100644
--- a/src/prefs-dialog.c
+++ b/src/prefs-dialog.c
@@ -1499,7 +1499,7 @@ prefs_homepage_current_button_clicked_cb (GtkWidget *button,
{
EphySession *session;
EphyWindow *window;
- EphyTab *tab;
+ EphyEmbed *embed;
session = EPHY_SESSION (ephy_shell_get_session (ephy_shell_get_default ()));
window = ephy_session_get_active_window (session);
@@ -1507,10 +1507,10 @@ prefs_homepage_current_button_clicked_cb (GtkWidget *button,
/* can't do anything in this case */
if (window == NULL) return;
- tab = ephy_window_get_active_tab (window);
- g_return_if_fail (tab != NULL);
+ embed = ephy_window_get_active_tab (window);
+ g_return_if_fail (embed != NULL);
- set_homepage_entry (dialog, ephy_embed_get_address (ephy_tab_get_embed (tab)));
+ set_homepage_entry (dialog, ephy_embed_get_address (embed));
}
static void
@@ -1519,6 +1519,7 @@ prefs_homepage_blank_button_clicked_cb (GtkWidget *button,
{
set_homepage_entry (dialog, NULL);
}
+
static void
prefs_dialog_init (PrefsDialog *pd)
{