aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergio Villar Senin <svillar@igalia.com>2012-09-05 19:56:36 +0800
committerSergio Villar Senin <svillar@igalia.com>2012-09-05 19:58:05 +0800
commitc6fa1c2dbbb7f81c1ee8a2df2a868289ff033397 (patch)
treea273fd92d71bf7b0b1aef11383f90ea645d5cd04
parent091ecde186285d89df1da89daf07ee2d694db6aa (diff)
downloadgsoc2013-epiphany-c6fa1c2dbbb7f81c1ee8a2df2a868289ff033397.tar.gz
gsoc2013-epiphany-c6fa1c2dbbb7f81c1ee8a2df2a868289ff033397.tar.zst
gsoc2013-epiphany-c6fa1c2dbbb7f81c1ee8a2df2a868289ff033397.zip
ephy-embed-shell: ephy_embed_shell_get_frecent_store() should not be public
Removed ephy_embed_shell_get_frecent_store() from EphyEmbedShell public interface.
-rw-r--r--embed/ephy-embed-private.h4
-rw-r--r--embed/ephy-embed-shell.c1
-rw-r--r--embed/ephy-embed-shell.h3
3 files changed, 5 insertions, 3 deletions
diff --git a/embed/ephy-embed-private.h b/embed/ephy-embed-private.h
index 0fcc5007a..080e560cf 100644
--- a/embed/ephy-embed-private.h
+++ b/embed/ephy-embed-private.h
@@ -22,6 +22,8 @@
#error "Only <epiphany/epiphany.h> can be included directly."
#endif
+#include "ephy-embed-shell.h"
+#include "ephy-frecent-store.h"
#include "ephy-history-types.h"
#include "ephy-web-view.h"
@@ -69,6 +71,8 @@ gboolean ephy_web_view_is_loading_homepage (EphyWebView
char* ephy_web_view_normalize_or_autosearch_url (EphyWebView *view,
const char *url);
+EphyFrecentStore *ephy_embed_shell_get_frecent_store (EphyEmbedShell *shell);
+
G_END_DECLS
#endif
diff --git a/embed/ephy-embed-shell.c b/embed/ephy-embed-shell.c
index 2df87b6ee..9e31af830 100644
--- a/embed/ephy-embed-shell.c
+++ b/embed/ephy-embed-shell.c
@@ -25,6 +25,7 @@
#include "ephy-adblock-manager.h"
#include "ephy-debug.h"
#include "ephy-download.h"
+#include "ephy-embed-private.h"
#include "ephy-embed-single.h"
#include "ephy-embed-type-builtins.h"
#include "ephy-encodings.h"
diff --git a/embed/ephy-embed-shell.h b/embed/ephy-embed-shell.h
index 84c9a4591..8f4717bde 100644
--- a/embed/ephy-embed-shell.h
+++ b/embed/ephy-embed-shell.h
@@ -31,7 +31,6 @@
#include <gtk/gtk.h>
#include "ephy-download.h"
-#include "ephy-frecent-store.h"
G_BEGIN_DECLS
@@ -83,8 +82,6 @@ EphyEmbedShell *ephy_embed_shell_get_default (void);
GObject *ephy_embed_shell_get_global_history_service (EphyEmbedShell *shell);
-EphyFrecentStore *ephy_embed_shell_get_frecent_store (EphyEmbedShell *shell);
-
GObject *ephy_embed_shell_get_encodings (EphyEmbedShell *shell);
GObject *ephy_embed_shell_get_embed_single (EphyEmbedShell *shell);