aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-embed-shell.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-01-02 04:08:38 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-01-02 04:08:38 +0800
commit2a830a379ab4c38b512ee521ccf10ba9cb28da53 (patch)
tree5ab90ff00c245743162cbf9f42951ca12c7cc090 /embed/ephy-embed-shell.c
parent66677ed1062c18fd63cb13ea9480343a01058c96 (diff)
downloadgsoc2013-epiphany-2a830a379ab4c38b512ee521ccf10ba9cb28da53.tar
gsoc2013-epiphany-2a830a379ab4c38b512ee521ccf10ba9cb28da53.tar.gz
gsoc2013-epiphany-2a830a379ab4c38b512ee521ccf10ba9cb28da53.tar.bz2
gsoc2013-epiphany-2a830a379ab4c38b512ee521ccf10ba9cb28da53.tar.lz
gsoc2013-epiphany-2a830a379ab4c38b512ee521ccf10ba9cb28da53.tar.xz
gsoc2013-epiphany-2a830a379ab4c38b512ee521ccf10ba9cb28da53.tar.zst
gsoc2013-epiphany-2a830a379ab4c38b512ee521ccf10ba9cb28da53.zip
Cleanup unused code. Reorder build. In new bookmark dialog enter activate
2003-01-01 Marco Pesenti Gritti <marco@it.gnome.org> * embed/Makefile.am: * embed/ephy-embed-favicon.c: (location_changed_cb), (favicon_cb): * embed/ephy-embed-popup.c: (embed_popup_copy_location_cmd), (embed_popup_save_page_as_cmd), (embed_popup_open_frame_cmd): * embed/ephy-embed-shell.c: (ephy_embed_shell_free_cookies): * embed/ephy-embed-shell.h: * embed/ephy-embed-utils.c: (ephy_embed_utils_save): * embed/ephy-embed.c: (ephy_embed_get_location), (ephy_embed_shistory_copy): * embed/ephy-embed.h: * embed/mozilla/EphyWrapper.cpp: * embed/mozilla/EphyWrapper.h: * embed/mozilla/Makefile.am: * embed/mozilla/mozilla-embed-shell.cpp: * embed/mozilla/mozilla-embed.cpp: * lib/Makefile.am: * lib/toolbar/Makefile.am: * lib/widgets/Makefile.am: * src/Makefile.am: * src/bookmarks/ephy-new-bookmark.c: (build_editing_table): * src/ephy-nautilus-view.c: (gnv_embed_location_cb), (gnv_popup_cmd_frame_in_new_window): * src/ephy-shell.c: (build_homepage_url): * src/ephy-tab.c: (ephy_tab_location_cb): * src/pdm-dialog.c: (pdm_dialog_cookie_add): * src/popup-commands.c: (popup_cmd_frame_in_new_tab), (popup_cmd_frame_in_new_window): Cleanup unused code. Reorder build. In new bookmark dialog enter activate ok.
Diffstat (limited to 'embed/ephy-embed-shell.c')
-rw-r--r--embed/ephy-embed-shell.c51
1 files changed, 1 insertions, 50 deletions
diff --git a/embed/ephy-embed-shell.c b/embed/ephy-embed-shell.c
index 541e48007..9bb72942a 100644
--- a/embed/ephy-embed-shell.c
+++ b/embed/ephy-embed-shell.c
@@ -318,34 +318,6 @@ ephy_embed_shell_get_font_list (EphyEmbedShell *shell,
}
gresult
-ephy_embed_shell_set_permission (EphyEmbedShell *shell,
- const char *url,
- PermissionType type,
- gboolean allow)
-{
- EphyEmbedShellClass *klass = EPHY_EMBED_SHELL_GET_CLASS (shell);
- return klass->set_permission (shell, url, type, allow);
-}
-
-gresult
-ephy_embed_shell_list_permissions (EphyEmbedShell *shell,
- PermissionType type,
- GList **permissions)
-{
- EphyEmbedShellClass *klass = EPHY_EMBED_SHELL_GET_CLASS (shell);
- return klass->list_permissions (shell, type, permissions);
-}
-
-gresult
-ephy_embed_shell_remove_permissions (EphyEmbedShell *shell,
- PermissionType type,
- GList *permissions)
-{
- EphyEmbedShellClass *klass = EPHY_EMBED_SHELL_GET_CLASS (shell);
- return klass->remove_permissions (shell, type, permissions);
-}
-
-gresult
ephy_embed_shell_list_cookies (EphyEmbedShell *shell,
GList **cookies)
{
@@ -442,26 +414,6 @@ impl_get_downloader_view (EphyEmbedShell *shell)
}
gresult
-ephy_embed_shell_free_permissions (EphyEmbedShell *shell,
- GList *permissions)
-{
- GList *l;
-
- for (l = permissions; l != NULL; l = l->next)
- {
- PermissionInfo *info = (PermissionInfo *)l->data;
-
- g_free (info->type);
- g_free (info->domain);
- g_free (info);
- }
-
- g_list_free (permissions);
-
- return G_OK;
-}
-
-gresult
ephy_embed_shell_free_cookies (EphyEmbedShell *shell,
GList *cookies)
{
@@ -471,8 +423,7 @@ ephy_embed_shell_free_cookies (EphyEmbedShell *shell,
{
CookieInfo *info = (CookieInfo *)l->data;
- g_free (info->base.type);
- g_free (info->base.domain);
+ g_free (info->domain);
g_free (info->name);
g_free (info->value);
g_free (info->path);