diff options
author | Vincent Sanders <vince@kyllikki.org> | 2019-09-15 22:20:49 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2019-09-15 22:20:49 +0100 |
commit | dc48c0c22fb9612a464429d851b502a0d5718790 (patch) | |
tree | d6da1a4b4e4bdc6f4f27f1c7b89ac640d357a670 /frontends/gtk/tabs.c | |
parent | acbc73624be2962b58ebba50cd9d42b5ee1c10b7 (diff) | |
download | netsurf-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/tabs.c')
-rw-r--r-- | frontends/gtk/tabs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/gtk/tabs.c b/frontends/gtk/tabs.c index b9e6dadb1..04e90b935 100644 --- a/frontends/gtk/tabs.c +++ b/frontends/gtk/tabs.c @@ -286,7 +286,7 @@ nsgtk_tab_add_newtab(GtkNotebook *notebook) tablabel = nsgtk_hbox_new(FALSE, 1); tabcontents = nsgtk_hbox_new(FALSE, 1); - add = nsgtk_image_new_from_stock(NSGTK_STOCK_ADD, GTK_ICON_SIZE_MENU); + add = gtk_image_new_from_icon_name(NSGTK_STOCK_ADD, GTK_ICON_SIZE_MENU); gtk_box_pack_start(GTK_BOX(tablabel), add, FALSE, FALSE, 0); |