aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-embed-shell.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-shell.c
parent5f1869901b3705de47918f0f137762acfd773286 (diff)
downloadgsoc2013-epiphany-ece5e036c19540f6973b510bd7d108bc3c0ad742.tar
gsoc2013-epiphany-ece5e036c19540f6973b510bd7d108bc3c0ad742.tar.gz
gsoc2013-epiphany-ece5e036c19540f6973b510bd7d108bc3c0ad742.tar.bz2
gsoc2013-epiphany-ece5e036c19540f6973b510bd7d108bc3c0ad742.tar.lz
gsoc2013-epiphany-ece5e036c19540f6973b510bd7d108bc3c0ad742.tar.xz
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-shell.c')
-rw-r--r--embed/ephy-embed-shell.c33
1 files changed, 0 insertions, 33 deletions
diff --git a/embed/ephy-embed-shell.c b/embed/ephy-embed-shell.c
index fe4dedebe..e23bc79bc 100644
--- a/embed/ephy-embed-shell.c
+++ b/embed/ephy-embed-shell.c
@@ -30,7 +30,6 @@ struct EphyEmbedShellPrivate
{
EphyHistory *global_history;
DownloaderView *downloader_view;
- GList *embeds;
EphyFaviconCache *favicon_cache;
EphyEmbedSingle *embed_single;
};
@@ -101,8 +100,6 @@ ephy_embed_shell_init (EphyEmbedShell *ges)
ges->priv->global_history = NULL;
ges->priv->downloader_view = NULL;
- ges->priv->embeds = NULL;
-
ges->priv->favicon_cache = NULL;
}
@@ -182,36 +179,6 @@ ephy_embed_shell_get_favicon_cache (EphyEmbedShell *ees)
return ees->priv->favicon_cache;
}
-void
-ephy_embed_shell_add_embed (EphyEmbedShell *ges,
- EphyEmbed *embed)
-{
- ges->priv->embeds = g_list_append (ges->priv->embeds, embed);
-}
-
-void
-ephy_embed_shell_remove_embed (EphyEmbedShell *ges,
- EphyEmbed *embed)
-{
- ges->priv->embeds = g_list_remove (ges->priv->embeds, embed);
-}
-
-EphyEmbed *
-ephy_embed_shell_get_active_embed (EphyEmbedShell *ges)
-{
- GList *list = ges->priv->embeds;
-
- g_return_val_if_fail (ges->priv->embeds != NULL, NULL);
-
- return EPHY_EMBED (list->data);
-}
-
-GList *
-ephy_embed_shell_get_embeds (EphyEmbedShell *ges)
-{
- return ges->priv->embeds;
-}
-
EphyHistory *
ephy_embed_shell_get_global_history (EphyEmbedShell *shell)
{