From d6d9378e9b1cc082a51725cfc9901549e4b84727 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Fri, 12 Jul 2013 12:01:54 +0100 Subject: [PATCH] Move global_history_add out of browser.h into global_history_core.h --- desktop/browser.c | 5 +++-- desktop/browser.h | 3 --- desktop/history_global_core.h | 2 ++ 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/desktop/browser.c b/desktop/browser.c index aa7da1f87..949dca061 100644 --- a/desktop/browser.c +++ b/desktop/browser.c @@ -45,10 +45,11 @@ #include "desktop/browser_private.h" #include "desktop/download.h" #include "desktop/frames.h" -#include "desktop/local_history.h" -#include "desktop/hotlist.h" #include "desktop/gui.h" +#include "desktop/history_global_core.h" +#include "desktop/hotlist.h" #include "desktop/knockout.h" +#include "desktop/local_history.h" #include "utils/nsoption.h" #include "desktop/scrollbar.h" #include "desktop/selection.h" diff --git a/desktop/browser.h b/desktop/browser.h index 44eac992f..8ffb40bb5 100644 --- a/desktop/browser.h +++ b/desktop/browser.h @@ -348,9 +348,6 @@ void browser_window_debug_dump(struct browser_window *bw, FILE *f); /* In platform specific hotlist.c. */ void hotlist_visited(struct hlcache_handle *c); -/* In platform specific global_history.c. */ -void global_history_add(nsurl *url); - /* In platform specific theme_install.c. */ #ifdef WITH_THEME_INSTALL void theme_install_start(struct hlcache_handle *c); diff --git a/desktop/history_global_core.h b/desktop/history_global_core.h index 7b8e6823a..c55a23cf9 100644 --- a/desktop/history_global_core.h +++ b/desktop/history_global_core.h @@ -28,6 +28,8 @@ bool history_global_initialise(struct tree *tree, const char* folder_icon_name); unsigned int history_global_get_tree_flags(void); void history_global_cleanup(void); +void global_history_add(nsurl *url); + bool history_global_export(const char *path); void history_global_delete_selected(void); void history_global_delete_all(void);