From 2a830a379ab4c38b512ee521ccf10ba9cb28da53 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Wed, 1 Jan 2003 20:08:38 +0000 Subject: Cleanup unused code. Reorder build. In new bookmark dialog enter activate 2003-01-01 Marco Pesenti Gritti * 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. --- embed/ephy-embed-shell.c | 51 +----------------------------------------------- 1 file changed, 1 insertion(+), 50 deletions(-) (limited to 'embed/ephy-embed-shell.c') 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 @@ -317,34 +317,6 @@ ephy_embed_shell_get_font_list (EphyEmbedShell *shell, default_font); } -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) @@ -441,26 +413,6 @@ impl_get_downloader_view (EphyEmbedShell *shell) return shell->priv->downloader_view; } -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); -- cgit v1.2.3