[nautilus-python] Removed Py_XDECREF calls which cause segmentation faults when the method hasn't been implemented
- From: Adam Plumb <adamplumb src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [nautilus-python] Removed Py_XDECREF calls which cause segmentation faults when the method hasn't been implemented
- Date: Sat, 16 Jan 2010 17:42:38 +0000 (UTC)
commit 9871b185cad38beb655159d82ad28763ca28eb48
Author: Adam Plumb <adamplumb gmail com>
Date: Sat Jan 16 12:42:12 2010 -0500
Removed Py_XDECREF calls which cause segmentation faults when the method hasn't been implemented
src/nautilus-python-object.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/nautilus-python-object.c b/src/nautilus-python-object.c
index 1f03b44..3d67505 100644
--- a/src/nautilus-python-object.c
+++ b/src/nautilus-python-object.c
@@ -133,7 +133,6 @@ nautilus_python_object_get_property_pages (NautilusPropertyPageProvider *provide
HANDLE_LIST(py_ret, NautilusPropertyPage, "nautilus.PropertyPage");
beach:
- Py_XDECREF(py_files);
Py_XDECREF(py_ret);
pyg_gil_state_release(state);
return ret;
@@ -182,8 +181,6 @@ nautilus_python_object_get_widget (NautilusLocationWidgetProvider *provider,
ret = (GtkWidget *)g_object_ref(py_ret_gobj->obj);
beach:
- Py_XDECREF(py_uri);
- Py_XDECREF(py_ret_gobj);
Py_XDECREF(py_ret);
pyg_gil_state_release(state);
return ret;
@@ -221,7 +218,6 @@ nautilus_python_object_get_file_items (NautilusMenuProvider *provider,
HANDLE_LIST(py_ret, NautilusMenuItem, "nautilus.MenuItem");
beach:
- Py_XDECREF(py_files);
Py_XDECREF(py_ret);
pyg_gil_state_release(state);
return ret;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]