]> www.fi.muni.cz Git - evince.git/blobdiff - shell/ev-sidebar-thumbnails.c
Replace GTK_WIDGET_MAPPED() with gtk_widget_get_mapped()
[evince.git] / shell / ev-sidebar-thumbnails.c
index 16fe37661510768acdefe8bc20fd348c8e14e728..ad2c09f2a1c8f46827c85586dd92f3877485bfc5 100644 (file)
@@ -503,7 +503,7 @@ adjustment_changed_cb (EvSidebarThumbnails *sidebar_thumbnails)
        gint wy2;
 
        /* Widget is not currently visible */
-       if (!GTK_WIDGET_MAPPED (sidebar_thumbnails))
+       if (!gtk_widget_get_mapped (GTK_WIDGET (sidebar_thumbnails)))
                return;
 
        if (priv->vadjustment->page_size == 0)