diff options
author | Xan Lopez <xan@igalia.com> | 2012-03-20 19:15:09 +0800 |
---|---|---|
committer | Xan Lopez <xan@igalia.com> | 2012-03-20 19:15:09 +0800 |
commit | f788322f9acdf3b490e3bba7aaf3c4c8d66f9ffb (patch) | |
tree | 0382bb1e4cab624b9e80403de0e0379a92f97f15 /embed/ephy-embed-shell.c | |
parent | faf0c7c89a02f38e2272048ae6aa3ba3e11e5f63 (diff) | |
download | gsoc2013-epiphany-f788322f9acdf3b490e3bba7aaf3c4c8d66f9ffb.tar.gz gsoc2013-epiphany-f788322f9acdf3b490e3bba7aaf3c4c8d66f9ffb.tar.zst gsoc2013-epiphany-f788322f9acdf3b490e3bba7aaf3c4c8d66f9ffb.zip |
Remove EphyHistory from the repository. It's unused now.
Diffstat (limited to 'embed/ephy-embed-shell.c')
-rw-r--r-- | embed/ephy-embed-shell.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/embed/ephy-embed-shell.c b/embed/ephy-embed-shell.c index 3b521f18a..c359afac6 100644 --- a/embed/ephy-embed-shell.c +++ b/embed/ephy-embed-shell.c @@ -35,7 +35,6 @@ #include "ephy-embed-type-builtins.h" #include "ephy-encodings.h" #include "ephy-file-helpers.h" -#include "ephy-history.h" #include "ephy-history-service.h" #include "ephy-print-utils.h" @@ -50,7 +49,6 @@ struct _EphyEmbedShellPrivate { - EphyHistory *global_history; EphyHistoryService *global_history_service; GList *downloads; EphyEmbedSingle *embed_single; @@ -129,12 +127,6 @@ ephy_embed_shell_finalize (GObject *object) shell->priv->downloads = NULL; } - if (shell->priv->global_history) - { - LOG ("Unref history"); - g_object_unref (shell->priv->global_history); - } - if (shell->priv->global_history_service) { LOG ("Unref history service"); @@ -158,25 +150,6 @@ ephy_embed_shell_finalize (GObject *object) } /** - * ephy_embed_shell_get_global_history: - * @shell: the #EphyEmbedShell - * - * Return value: (transfer none): - **/ -GObject * -ephy_embed_shell_get_global_history (EphyEmbedShell *shell) -{ - g_return_val_if_fail (EPHY_IS_EMBED_SHELL (shell), NULL); - - if (shell->priv->global_history == NULL) - { - shell->priv->global_history = ephy_history_new (); - } - - return G_OBJECT (shell->priv->global_history); -} - -/** * ephy_embed_shell_get_global_history_service: * @shell: the #EphyEmbedShell * |