diff options
author | Vincent Sanders <vince@kyllikki.org> | 2019-09-15 22:20:49 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2019-09-21 10:53:41 +0100 |
commit | 11aa682154af6e0d4c7920bb2983df5a6ded126f (patch) | |
tree | 9a689239267870e8eec7205c8f5820dc927dbbb8 /frontends/gtk/compat.h | |
parent | 9cd9a403e6ee69c78a575872bd399c633862d5aa (diff) | |
download | netsurf-11aa682154af6e0d4c7920bb2983df5a6ded126f.tar.gz netsurf-11aa682154af6e0d4c7920bb2983df5a6ded126f.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/compat.h')
-rw-r--r-- | frontends/gtk/compat.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/frontends/gtk/compat.h b/frontends/gtk/compat.h index feb0abe28..8ef2ed505 100644 --- a/frontends/gtk/compat.h +++ b/frontends/gtk/compat.h @@ -178,16 +178,16 @@ enum { /** - * Sets the icon shown in the entry at the specified position from a - * stock image. + * Sets the icon shown in the entry at the specified position from an + * icon name. * - * Compatability interface for original deprecated in GTK 3.10 + * Compatability interface for original introduced in 2.16 * * \param entry The entry widget to set the icon on. * \param icon_pos The position of the icon. * \param stock_id the name of the stock item. */ -void nsgtk_entry_set_icon_from_stock(GtkWidget *entry, GtkEntryIconPosition icon_pos, const gchar *stock_id); +void nsgtk_entry_set_icon_from_icon_name(GtkWidget *entry, GtkEntryIconPosition icon_pos, const gchar *stock_id); /** * Creates a GtkImage displaying a stock icon. |