aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-embed-dialog.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-07-01 00:31:59 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-07-01 00:31:59 +0800
commitece5e036c19540f6973b510bd7d108bc3c0ad742 (patch)
tree0b7c349967a71d928c30b2da5385036bb03aeac0 /embed/ephy-embed-dialog.c
parent5f1869901b3705de47918f0f137762acfd773286 (diff)
downloadgsoc2013-epiphany-ece5e036c19540f6973b510bd7d108bc3c0ad742.tar.gz
gsoc2013-epiphany-ece5e036c19540f6973b510bd7d108bc3c0ad742.tar.zst
gsoc2013-epiphany-ece5e036c19540f6973b510bd7d108bc3c0ad742.zip
Remove some unused code
2003-06-30 Marco Pesenti Gritti <marco@it.gnome.org> * embed/ephy-embed-dialog.c: (ephy_embed_dialog_get_embed): * embed/ephy-embed-shell.c: (ephy_embed_shell_init), (ephy_embed_shell_get_favicon_cache): * embed/ephy-embed-shell.h: * embed/print-dialog.c: (print_dialog_print), (print_dialog_preview): * src/Makefile.am: * src/ephy-tab.c: (ephy_tab_destroy_brsr_cb), (ephy_tab_init): Remove some unused code
Diffstat (limited to 'embed/ephy-embed-dialog.c')
-rw-r--r--embed/ephy-embed-dialog.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/embed/ephy-embed-dialog.c b/embed/ephy-embed-dialog.c
index 186310b13..552ec0106 100644
--- a/embed/ephy-embed-dialog.c
+++ b/embed/ephy-embed-dialog.c
@@ -17,7 +17,6 @@
*/
#include "ephy-embed-dialog.h"
-#include "ephy-embed-shell.h"
static void
ephy_embed_dialog_class_init (EphyEmbedDialogClass *klass);
@@ -199,12 +198,5 @@ ephy_embed_dialog_set_embed (EphyEmbedDialog *dialog,
EphyEmbed *
ephy_embed_dialog_get_embed (EphyEmbedDialog *dialog)
{
- if (dialog->priv->embed == NULL)
- {
- EphyEmbed *embed;
- embed = ephy_embed_shell_get_active_embed (embed_shell);
- ephy_embed_dialog_set_embed (dialog, embed);
- }
-
return dialog->priv->embed;
}