diff options
author | Kevin Degeling <contact@kevindegeling.nl> | 2021-02-20 10:28:45 +0300 |
---|---|---|
committer | Patrick <tingping@tingping.se> | 2021-02-25 21:51:05 +0300 |
commit | 78382ae8dfae816fdec67e4b8973c2501bb49dcd (patch) | |
tree | 27e0050e260adebf529561fe2af75aeb70b2b4d4 /py2gtk2/py2gtk2.patch | |
parent | 6e38b305567b8b947f8c0ebf4b30196a36b0eef8 (diff) |
Include python 2 - gtk+ 2 bridge for many old applications
Diffstat (limited to 'py2gtk2/py2gtk2.patch')
-rw-r--r-- | py2gtk2/py2gtk2.patch | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/py2gtk2/py2gtk2.patch b/py2gtk2/py2gtk2.patch new file mode 100644 index 0000000..ba4141e --- /dev/null +++ b/py2gtk2/py2gtk2.patch @@ -0,0 +1,39 @@ +From 877164b6b70780468a31d8211f29421b6f34b0c8 Mon Sep 17 00:00:00 2001 +From: Mathieu Bridon <bochecha@daitauha.fr> +Date: Thu, 24 Oct 2019 22:58:36 +0200 +Subject: [PATCH] Drop the PangoFont find_shaper virtual method + +This API has been removed from Pango 1.44.6, because it was completely +unused by anything. + +However, PyGTK tries to bind everything, even unused API. + +Removing this from PyGTK means we can build it against the latest Pango +again. +--- + pango.defs | 9 --------- + 1 file changed, 9 deletions(-) + +diff --git a/pango.defs b/pango.defs +index 2a79ecc..862667a 100644 +--- a/pango.defs ++++ b/pango.defs +@@ -1391,15 +1391,6 @@ + ) + ) + +-(define-virtual find_shaper +- (of-object "PangoFont") +- (return-type "PangoEngineShape*") +- (parameters +- '("PangoLanguage*" "lang") +- '("guint32" "ch") +- ) +-) +- + (define-virtual get_glyph_extents + (of-object "PangoFont") + (return-type "none") +-- +2.21.0 + |