summaryrefslogtreecommitdiff
path: root/frontends/gtk/toolbar.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2019-09-15 22:20:49 +0100
committerVincent Sanders <vince@kyllikki.org>2019-09-15 22:20:49 +0100
commitdc48c0c22fb9612a464429d851b502a0d5718790 (patch)
treed6da1a4b4e4bdc6f4f27f1c7b89ac640d357a670 /frontends/gtk/toolbar.h
parentacbc73624be2962b58ebba50cd9d42b5ee1c10b7 (diff)
downloadnetsurf-dc48c0c22fb9612a464429d851b502a0d5718790.tar.gz
netsurf-dc48c0c22fb9612a464429d851b502a0d5718790.tar.bz2
construct all toolbar items from data table
This changes toolbar item constuction to use toolbar_items.h instead of explicit macros. Additionally all remenants of old stock item themeing are done away with and GTK icon names are used instead.
Diffstat (limited to 'frontends/gtk/toolbar.h')
-rw-r--r--frontends/gtk/toolbar.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/frontends/gtk/toolbar.h b/frontends/gtk/toolbar.h
index b699898b9..e895d0b13 100644
--- a/frontends/gtk/toolbar.h
+++ b/frontends/gtk/toolbar.h
@@ -43,6 +43,7 @@ nserror nsgtk_toolbar_create(GtkBuilder *builder, struct browser_window *(*get_b
*/
nserror nsgtk_toolbar_destroy(struct nsgtk_toolbar *toolbar);
+
/**
* Update the toolbar items being shown based on current settings
*
@@ -51,6 +52,7 @@ nserror nsgtk_toolbar_destroy(struct nsgtk_toolbar *toolbar);
*/
nserror nsgtk_toolbar_update(struct nsgtk_toolbar *tb);
+
/**
* Update toolbar style and size based on current settings
*
@@ -111,10 +113,6 @@ nserror nsgtk_toolbar_item_activate(struct nsgtk_toolbar *tb, nsgtk_toolbar_butt
*/
nserror nsgtk_toolbar_show(struct nsgtk_toolbar *tb, bool show);
-/**
- * sets up the images for scaffolding.
- */
-void nsgtk_theme_implement(struct nsgtk_scaffolding *g);
/**
* Initialise customization of toolbar entries