summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gobject/gobjectmodule.c2
-rw-r--r--gobject/pygtype.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/gobject/gobjectmodule.c b/gobject/gobjectmodule.c
index 122efef..41fd1b9 100644
--- a/gobject/gobjectmodule.c
+++ b/gobject/gobjectmodule.c
@@ -675,7 +675,6 @@ pyg_object_set_property (GObject *object, guint property_id,
Py_DECREF(retval);
} else {
PyErr_Print();
- PyErr_Clear();
}
Py_DECREF(object_wrapper);
@@ -706,7 +705,6 @@ pyg_object_get_property (GObject *object, guint property_id,
"O", py_pspec);
if (retval == NULL || pyg_value_from_pyobject(value, retval) < 0) {
PyErr_Print();
- PyErr_Clear();
}
Py_DECREF(object_wrapper);
Py_DECREF(py_pspec);
diff --git a/gobject/pygtype.c b/gobject/pygtype.c
index 173ab19..accee83 100644
--- a/gobject/pygtype.c
+++ b/gobject/pygtype.c
@@ -748,7 +748,6 @@ pyg_closure_marshal(GClosure *closure,
ret = PyObject_CallObject(pc->callback, params);
if (ret == NULL) {
PyErr_Print();
- PyErr_Clear();
Py_DECREF(params);
pyg_unblock_threads();
return;
@@ -875,7 +874,6 @@ pyg_signal_class_closure_marshal(GClosure *closure,
ret = PyObject_CallObject(method, params);
if (ret == NULL) {
PyErr_Print();
- PyErr_Clear();
Py_DECREF(method);
Py_DECREF(params);
pyg_unblock_threads();