summaryrefslogtreecommitdiff
path: root/gi/overrides/GLib.py
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2017-07-12 08:44:38 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2017-07-12 08:44:42 +0900
commit1676d45a3ca971e18e44c9d5cf2972b3c858a528 (patch)
treecc6cc17c74ca19a11e24be6255845b5646b9e95e /gi/overrides/GLib.py
parentb34b5d5be117c5f7bf0bdc90f927dddada3b6118 (diff)
downloadpygobject2-1676d45a3ca971e18e44c9d5cf2972b3c858a528.tar.gz
pygobject2-1676d45a3ca971e18e44c9d5cf2972b3c858a528.tar.bz2
pygobject2-1676d45a3ca971e18e44c9d5cf2972b3c858a528.zip
Imported Upstream version 3.19.91
Change-Id: I1db218cf8c13ceaf96e044a7bd2a6f9a285854b3 Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'gi/overrides/GLib.py')
-rw-r--r--gi/overrides/GLib.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/gi/overrides/GLib.py b/gi/overrides/GLib.py
index 455ea84..c12b4d8 100644
--- a/gi/overrides/GLib.py
+++ b/gi/overrides/GLib.py
@@ -74,6 +74,7 @@ def gerror_new_literal(domain, message, code):
# Monkey patch methods that rely on GLib introspection to be loaded at runtime.
Error.__name__ = 'Error'
Error.__module__ = 'GLib'
+Error.__gtype__ = GLib.Error.__gtype__
Error.matches = gerror_matches
Error.new_literal = staticmethod(gerror_new_literal)