Get rid of the deprecated gtk_icon_size_lookup_for_settings()

and use gtk_icon_size_lookup() instead.
This commit is contained in:
Michael Natterer
2018-04-29 02:53:51 +02:00
parent 6ab3a55919
commit 901c3ddcf8
12 changed files with 34 additions and 67 deletions

View File

@ -488,9 +488,7 @@ gimp_cell_renderer_toggle_create_pixbuf (GimpCellRendererToggle *toggle,
{
gint width, height;
if (! gtk_icon_size_lookup_for_settings (gtk_widget_get_settings (widget),
priv->stock_size,
&width, &height))
if (! gtk_icon_size_lookup (priv->stock_size, &width, &height))
{
width = 20;
height = 20;