From e2f042979c5590a52d9715ac962911f6a614e69d Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Sep 29 2020 07:02:04 +0000 Subject: import evince-3.28.2-10.el7 --- diff --git a/SOURCES/evince-3.28.2-tree-view-warnings.patch b/SOURCES/evince-3.28.2-tree-view-warnings.patch new file mode 100644 index 0000000..c4f371e --- /dev/null +++ b/SOURCES/evince-3.28.2-tree-view-warnings.patch @@ -0,0 +1,34 @@ +From 871191e108ca5d0b4dc912889b80b595faf0f886 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Nelson=20Ben=C3=ADtez=20Le=C3=B3n?= +Date: Sun, 2 Dec 2018 14:31:20 +0100 +Subject: [PATCH] ev-sidebar-thumbnails: fix criticals in tree view mode + +Lots of criticals printed from trying to use icon_view +widget when in tree view mode. + +This was a slip over from commit 6480c7039 + +Fixes #1042 +--- + shell/ev-sidebar-thumbnails.c | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +diff --git a/shell/ev-sidebar-thumbnails.c b/shell/ev-sidebar-thumbnails.c +index 339769c6..a0a27f75 100644 +--- a/shell/ev-sidebar-thumbnails.c ++++ b/shell/ev-sidebar-thumbnails.c +@@ -1000,7 +1000,10 @@ thumbnail_job_completed_callback (EvJobThumbnail *job, + -1); + cairo_surface_destroy (surface); + +- gtk_widget_queue_draw (priv->icon_view); ++ if (ev_sidebar_thumbnails_use_icon_view (sidebar_thumbnails)) ++ gtk_widget_queue_draw (priv->icon_view); ++ else ++ gtk_widget_queue_draw (priv->tree_view); + } + + static void +-- +2.24.1 + diff --git a/SPECS/evince.spec b/SPECS/evince.spec index 5e64935..2c2e60e 100644 --- a/SPECS/evince.spec +++ b/SPECS/evince.spec @@ -5,7 +5,7 @@ Name: evince Version: 3.28.2 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Document viewer License: GPLv2+ and GPLv3+ and LGPLv2+ and MIT and Afmparse @@ -28,6 +28,8 @@ Patch10: evince-3.28.2-application-id.patch Patch11: evince-3.28.2-print-scaling.patch # https://bugzilla.redhat.com/show_bug.cgi?id=1716295 Patch12: evince-3.28.2-TIFFReadRGBAImageOriented.patch +# https://bugzilla.redhat.com/show_bug.cgi?id=1610436 +Patch13: evince-3.28.2-tree-view-warnings.patch BuildRequires: pkgconfig(adwaita-icon-theme) BuildRequires: pkgconfig(gio-unix-2.0) >= %{glib2_version} @@ -278,6 +280,10 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null ||: %{_libdir}/mozilla/plugins/libevbrowserplugin.so %changelog +* Wed Apr 15 2020 Marek Kasik - 3.28.2-10 +- Do not try to use icon_view widget when in tree view mode +- Resolves: #1610436 + * Tue Aug 13 2019 Marek Kasik - 3.28.2-9 - Handle failure from TIFFReadRGBAImageOriented - Resolves: #1717352