Commit eac902d0 authored by Michael Natterer's avatar Michael Natterer 😴

libgimp: use gtk_widget_get_visible() instead of GTK_WIDGET_VISIBLE()

parent 5876d1d5
......@@ -340,8 +340,8 @@ gimp_scrolled_preview_area_size_allocate (GtkWidget *widget,
gtk_widget_set_visible (preview->nav_icon,
GTK_WIDGET_VISIBLE (preview->vscr) &&
GTK_WIDGET_VISIBLE (preview->hscr) &&
gtk_widget_get_visible (preview->vscr) &&
gtk_widget_get_visible (preview->hscr) &&
GIMP_PREVIEW_GET_CLASS (preview)->draw_thumb);
gimp_scrolled_preview_thaw (preview);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment