diff options
Diffstat (limited to 'src/ephy-encoding-dialog.c')
-rw-r--r-- | src/ephy-encoding-dialog.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ephy-encoding-dialog.c b/src/ephy-encoding-dialog.c index 24db69fa1..4fa23bdf8 100644 --- a/src/ephy-encoding-dialog.c +++ b/src/ephy-encoding-dialog.c @@ -1,3 +1,4 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* * Copyright © 2000, 2001, 2002, 2003 Marco Pesenti Gritti * Copyright © 2003, 2004 Christian Persch @@ -24,6 +25,7 @@ #include "ephy-encoding-dialog.h" #include "ephy-encodings.h" #include "ephy-embed.h" +#include "ephy-embed-container.h" #include "ephy-embed-shell.h" #include "ephy-file-helpers.h" #include "ephy-shell.h" @@ -192,7 +194,7 @@ sync_active_tab (EphyWindow *window, GParamSpec *pspec, EphyEncodingDialog *dial { EphyEmbed *embed; - embed = ephy_window_get_active_tab (dialog->priv->window); + embed = ephy_embed_container_get_active_child (EPHY_EMBED_CONTAINER (dialog->priv->window)); g_object_set (G_OBJECT (dialog), "embed", embed, NULL); } |