summaryrefslogtreecommitdiff
path: root/src/gtk-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gtk-utils.c')
-rw-r--r--src/gtk-utils.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/gtk-utils.c b/src/gtk-utils.c
index 56b7add..d805c45 100644
--- a/src/gtk-utils.c
+++ b/src/gtk-utils.c
@@ -733,9 +733,8 @@ get_folder_pixbuf_size_for_list (GtkWidget *widget)
{
int icon_width, icon_height;
- gtk_icon_size_lookup_for_settings (gtk_widget_get_settings (widget),
- GTK_ICON_SIZE_SMALL_TOOLBAR,
- &icon_width, &icon_height);
+ gtk_icon_size_lookup (GTK_ICON_SIZE_SMALL_TOOLBAR,
+ &icon_width, &icon_height);
return MAX (icon_width, icon_height);
}
@@ -836,8 +835,7 @@ _gtk_widget_lookup_for_size (GtkWidget *widget,
GtkIconSize icon_size)
{
int w, h;
- gtk_icon_size_lookup_for_settings (gtk_widget_get_settings (widget),
- icon_size,
- &w, &h);
+ gtk_icon_size_lookup (icon_size,
+ &w, &h);
return MAX (w, h);
}