ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / mat2 / fix_poppler.patch
blob02bdbb6345dc0ba359442df2778c3705ba7eb4a1
1 diff --git a/nautilus/mat2.py b/nautilus/mat2.py
2 index 11e6986..5a0e68f 100644
3 --- a/nautilus/mat2.py
4 +++ b/nautilus/mat2.py
5 @@ -22,6 +22,9 @@ import gi
6 gi.require_version('Nautilus', '3.0')
7 gi.require_version('Gtk', '3.0')
8 gi.require_version('GdkPixbuf', '2.0')
9 +gi.require_version('GIRepository', '2.0')
10 +from gi.repository import GIRepository
11 +GIRepository.Repository.prepend_search_path('@poppler_path@')
12 from gi.repository import Nautilus, GObject, Gtk, Gio, GLib, GdkPixbuf
14 from libmat2 import parser_factory