[epiphany/history-rewrite-second: 12/23] Add a EphyBrowseHistory instance to EphyEmbed



commit 0afb163e0bc694b71cddd6694617196aade1ef08
Author: Claudio Saavedra <csaavedra igalia com>
Date:   Fri Aug 26 14:28:09 2011 +0300

    Add a EphyBrowseHistory instance to EphyEmbed

 embed/ephy-embed.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c
index 62f2558..74c60c1 100644
--- a/embed/ephy-embed.c
+++ b/embed/ephy-embed.c
@@ -36,6 +36,7 @@
 #include "ephy-embed-utils.h"
 #include "ephy-file-helpers.h"
 #include "ephy-history.h"
+#include "ephy-browse-history.h"
 #include "ephy-prefs.h"
 #include "ephy-settings.h"
 #include "ephy-stock-icons.h"
@@ -68,6 +69,7 @@ struct _EphyEmbedPrivate
   GtkPaned *paned;
   WebKitWebView *web_view;
   EphyHistory *history;
+  EphyBrowseHistory *browse_history;
   GtkWidget *inspector_window;
   GtkWidget *inspector_web_view;
   GtkWidget *inspector_scrolled_window;
@@ -686,6 +688,7 @@ ephy_embed_constructed (GObject *object)
   ephy_embed_prefs_add_embed (embed);
 
   embed->priv->history = EPHY_HISTORY (ephy_embed_shell_get_global_history (ephy_embed_shell_get_default ()));
+  embed->priv->browse_history = EPHY_BROWSE_HISTORY (ephy_embed_shell_get_global_browse_history (ephy_embed_shell_get_default ()));
 
   g_signal_connect (embed->priv->history,
                     "cleared", G_CALLBACK (ephy_embed_history_cleared_cb),



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]