Remove downstream patch that's no longer needed

This commit is contained in:
Michael Catanzaro 2016-06-20 10:56:45 -05:00
parent 42e189ccb8
commit 10057bae1f
2 changed files with 4 additions and 16 deletions

View File

@ -1,13 +0,0 @@
diff --git a/libview/ev-view-accessible.c b/libview/ev-view-accessible.c
index 7805219..c871ff9 100644
--- a/libview/ev-view-accessible.c
+++ b/libview/ev-view-accessible.c
@@ -578,7 +578,7 @@ ev_view_accessible_set_page_range (EvViewAccessible *accessible,
g_return_if_fail (EV_IS_VIEW_ACCESSIBLE (accessible));
for (i = accessible->priv->start_page; i <= accessible->priv->end_page; i++) {
- if (i < start || i > end) {
+ if ((i < start || i > end) && i < ev_view_accessible_get_n_pages (accessible)) {
page = g_ptr_array_index (accessible->priv->children, i);
atk_object_notify_state_change (page, ATK_STATE_SHOWING, FALSE);
}

View File

@ -12,7 +12,6 @@ License: GPLv2+ and GPLv3+ and LGPLv2+ and MIT and Afmparse
Group: Applications/Publishing
URL: https://wiki.gnome.org/Apps/Evince
Source0: http://download.gnome.org/sources/%{name}/3.20/%{name}-%{version}.tar.xz
Patch1: evince-3.17.2-check-to-avoid-crash.patch
BuildRequires: pkgconfig(adwaita-icon-theme)
BuildRequires: pkgconfig(gio-unix-2.0) >= %{glib2_version}
@ -118,8 +117,7 @@ This package contains the evince web browser plugin.
%prep
%setup -q
%patch1 -p1 -b .check-to-avoid-crash
%autosetup -p1
%build
%configure \
@ -262,6 +260,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null ||:
%{_libdir}/mozilla/plugins/libevbrowserplugin.so
%changelog
* Mon Jun 20 2016 Michael Catanzaro <mcatanzaro@gnome.org> - 3.20.0-2
- Remove downstream patch that's no longer needed
* Tue Mar 22 2016 Kalev Lember <klember@redhat.com> - 3.20.0-1
- Update to 3.20.0