use gtk_icon_size_lookup in both GTK+ builds

master-1.22
monsta 2016-01-20 12:22:52 +03:00
parent 6e47412b9c
commit 5ef25f7914
1 changed files with 1 additions and 2 deletions

View File

@ -103,8 +103,7 @@ terminal_tab_label_style_set (GtkWidget *widget,
if (style_set) if (style_set)
style_set (widget, previous_style); style_set (widget, previous_style);
gtk_icon_size_lookup_for_settings (gtk_widget_get_settings (widget), gtk_icon_size_lookup (GTK_ICON_SIZE_MENU, &w, &h);
GTK_ICON_SIZE_MENU, &w, &h);
gtk_widget_set_size_request (priv->close_button, w + 2, h + 2); gtk_widget_set_size_request (priv->close_button, w + 2, h + 2);
} }