summaryrefslogtreecommitdiff
path: root/frontends/gtk/history.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-08-04 23:41:22 +0100
committerVincent Sanders <vince@kyllikki.org>2016-08-04 23:41:22 +0100
commit189b7b45fb9805d1beae9506cac2c001bd680470 (patch)
tree96d184587369fd4d0968ff4e0bae4ca0055a1fa9 /frontends/gtk/history.h
parent73b81a59ccaf09f695a643eae06fb510ec4559b4 (diff)
downloadnetsurf-189b7b45fb9805d1beae9506cac2c001bd680470.tar.gz
netsurf-189b7b45fb9805d1beae9506cac2c001bd680470.tar.bz2
convert GTK global history to use GTK core window
Diffstat (limited to 'frontends/gtk/history.h')
-rw-r--r--frontends/gtk/history.h22
1 files changed, 12 insertions, 10 deletions
diff --git a/frontends/gtk/history.h b/frontends/gtk/history.h
index c0f7db2bd..996e0fdd8 100644
--- a/frontends/gtk/history.h
+++ b/frontends/gtk/history.h
@@ -17,23 +17,25 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+/**
+ * \file
+ * Interface to GTK global history manager
+ */
+
#ifndef __NSGTK_HISTORY_H__
#define __NSGTK_HISTORY_H__
-#include <gtk/gtk.h>
-
-extern GtkWindow *wndHistory;
-
/**
- * Creates the window for the global history tree.
+ * make the global history window visible.
*
- * \return NSERROR_OK on sucess else appropriate error code.
+ * \return NSERROR_OK on success else appropriate error code on faliure.
*/
-nserror nsgtk_history_init(void);
+nserror nsgtk_global_history_present(void);
/**
- * Free global resources associated with the gtk history window.
+ * Destroys the global history window and performs any other necessary cleanup
+ * actions.
*/
-void nsgtk_history_destroy(void);
+nserror nsgtk_global_history_destroy(void);
-#endif /* __NSGTK_HISTORY_H__ */
+#endif