diff options
author | Michael Mair-Keimberger <m.mairkeimberger@gmail.com> | 2019-04-10 10:51:14 +0200 |
---|---|---|
committer | Aaron Bauman <bman@gentoo.org> | 2019-04-19 21:29:18 -0400 |
commit | e593a105c9f823583a25d6e4066bd6c2345409fb (patch) | |
tree | 0d43fddab8b4eadf63882f6217a1071d1de286de /app-text/ghostscript-gpl | |
parent | dev-lang/php: remove unused patches (diff) | |
download | gentoo-e593a105c9f823583a25d6e4066bd6c2345409fb.tar.gz gentoo-e593a105c9f823583a25d6e4066bd6c2345409fb.tar.bz2 gentoo-e593a105c9f823583a25d6e4066bd6c2345409fb.zip |
app-text/ghostscript-gpl: remove unused patch(es)
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/11648
Signed-off-by: Aaron Bauman <bman@gentoo.org>
Diffstat (limited to 'app-text/ghostscript-gpl')
-rw-r--r-- | app-text/ghostscript-gpl/files/ghostscript-gpl-9.25-no-gtk3.patch | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/app-text/ghostscript-gpl/files/ghostscript-gpl-9.25-no-gtk3.patch b/app-text/ghostscript-gpl/files/ghostscript-gpl-9.25-no-gtk3.patch deleted file mode 100644 index 34cc2ec88c14..000000000000 --- a/app-text/ghostscript-gpl/files/ghostscript-gpl-9.25-no-gtk3.patch +++ /dev/null @@ -1,43 +0,0 @@ -From a73071b87a61acf1237da5ad9da59bae9316fb8c Mon Sep 17 00:00:00 2001 -From: Chris Liddell <chris.liddell@artifex.com> -Date: Mon, 8 Oct 2018 09:24:22 +0100 -Subject: [PATCH] Bug 699907: Reinstate GTK+ 2.x.x code. - -The fix (from March 2018) for deprecated API calls in the GTK+ 3.x.x API -didn't account for the new, supported methods not being available in -GTK+ 2.x.x. Handle both cases, as we do elsewhere. ---- - psi/dxmain.c | 8 +++++++- - 1 file changed, 7 insertions(+), 1 deletion(-) - -diff --git a/psi/dxmain.c b/psi/dxmain.c -index 72c060e..250269a 100644 ---- a/psi/dxmain.c -+++ b/psi/dxmain.c -@@ -354,17 +354,23 @@ static void window_resize(IMAGE *img) - #endif - - if (!visible) { -- guint width, height; - /* We haven't yet shown the window, so set a default size - * which is smaller than the desktop to allow room for - * desktop toolbars, and if possible a little larger than - * the image to allow room for the scroll bars. - * We don't know the width of the scroll bars, so just guess. */ -+#if !GTK_CHECK_VERSION(3, 0, 0) -+ gtk_window_set_default_size(GTK_WINDOW(img->window), -+ min(gdk_screen_width()-96, img->width+24), -+ min(gdk_screen_height()-96, img->height+24)); -+#else -+ guint width, height; - width = gtk_widget_get_allocated_width (img->window) - 96; - height = gtk_widget_get_allocated_height (img->window) - 96; - gtk_window_set_default_size(GTK_WINDOW(img->window), - min(width, img->width+24), - min(height, img->height+24)); -+#endif - } - } - --- -2.9.1 |