File: pygobject_gtk3.patch

package info (click to toggle)
opendrop 3.3.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 26,940 kB
  • sloc: python: 18,944; cpp: 1,031; makefile: 25; sh: 7
file content (13 lines) | stat: -rw-r--r-- 531 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: opendrop/opendrop/utility/bindable/gextension/style.py
===================================================================
--- opendrop.orig/opendrop/utility/bindable/gextension/style.py	2022-12-13 11:13:16.230515410 +0100
+++ opendrop/opendrop/utility/bindable/gextension/style.py	2023-03-08 00:52:19.570180380 +0100
@@ -1,6 +1,8 @@
 import weakref
 from typing import Any
 
+from gi import require_version
+require_version("Gtk", "3.0")
 from gi.repository import Gtk
 
 from opendrop.utility.bindable.abc import Bindable