summaryrefslogtreecommitdiff
path: root/frontends/gtk/hotlist.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-08-06 17:08:21 +0100
committerVincent Sanders <vince@kyllikki.org>2016-08-06 17:08:21 +0100
commit8547452232e1cc7664fe3af7cbcfc4cead9d7d92 (patch)
treefaf5d18f363c2209fd59be92ad88adee3cf6a41f /frontends/gtk/hotlist.h
parent597d167b9d06d417872db81c8d328318e1b0d85a (diff)
downloadnetsurf-8547452232e1cc7664fe3af7cbcfc4cead9d7d92.tar.gz
netsurf-8547452232e1cc7664fe3af7cbcfc4cead9d7d92.tar.bz2
convert GTK hotlist to use GTK core window
Diffstat (limited to 'frontends/gtk/hotlist.h')
-rw-r--r--frontends/gtk/hotlist.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/frontends/gtk/hotlist.h b/frontends/gtk/hotlist.h
index 01e5a86c5..3170027cd 100644
--- a/frontends/gtk/hotlist.h
+++ b/frontends/gtk/hotlist.h
@@ -16,25 +16,26 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-/** \file
- * GTK hotlist (interface).
+/**
+ * \file
+ * Interface to GTK bookmarks (hotlist).
*/
#ifndef __NSGTK_HOTLIST_H__
#define __NSGTK_HOTLIST_H__
-#include <gtk/gtk.h>
-
-extern GtkWindow *wndHotlist;
-
/**
- * Initialise the gtk specific hotlist (bookmarks) display.
+ * make the hotlist window visible.
*
* \return NSERROR_OK on success else appropriate error code on faliure.
*/
-nserror nsgtk_hotlist_init(void);
-
+nserror nsgtk_hotlist_present(void);
-void nsgtk_hotlist_destroy(void);
+/**
+ * Free any resources allocated for the hotlist window.
+ *
+ * \return NSERROR_OK on success else appropriate error code on faliure.
+ */
+nserror nsgtk_hotlist_destroy(void);
#endif /* __NSGTK_HOTLIST_H__ */