summaryrefslogtreecommitdiff
path: root/gi/overrides
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2019-01-15 15:38:20 +0100
committerChristoph Reiter <reiter.christoph@gmail.com>2019-01-15 16:42:36 +0100
commitc9f127b8121f3a94eb07bb6e1c95f6f01abe8cb2 (patch)
tree4b615152cf5206de122047772633e93231005df2 /gi/overrides
parent22656c4bc33e62aa8387df7accb73ad95fc8e8e9 (diff)
downloadpygobject-c9f127b8121f3a94eb07bb6e1c95f6f01abe8cb2.tar.gz
Remove GObject.Value.__del__
We can move this into tp_dealloc now. Only call unset() in the slice allocate case since g_boxed_free() will do it anyway.
Diffstat (limited to 'gi/overrides')
-rw-r--r--gi/overrides/GObject.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/gi/overrides/GObject.py b/gi/overrides/GObject.py
index 4df27ab3..938a19a8 100644
--- a/gi/overrides/GObject.py
+++ b/gi/overrides/GObject.py
@@ -209,10 +209,6 @@ class Value(GObjectModule.Value):
if py_value is not None:
self.set_value(py_value)
- def __del__(self):
- if self._free_on_dealloc and self.g_type != TYPE_INVALID:
- self.unset()
-
def set_boxed(self, boxed):
# Workaround the introspection marshalers inability to know
# these methods should be marshaling boxed types. This is because