Revert last change(s)

Original commit message from CVS:
Revert last change(s)
This commit is contained in:
Johan Dahlin 2005-03-18 13:05:53 +00:00
parent e6eb16b03b
commit e6cb4fa426

View file

@ -189,8 +189,8 @@ _wrap_gst_tag_list_subscript(PyGObject *self, PyObject *py_key)
PyErr_SetString(PyExc_TypeError, "lists are currently unspported");
}
if (v == NULL)
Py_INCREF(Py_None);
if (v != NULL)
Py_INCREF(v);
return v;
}
@ -242,8 +242,8 @@ _wrap_gst_tag_list_get(PyGObject *self, PyObject *args)
}
if (val == NULL)
Py_INCREF(Py_None);
val = failobj;
Py_INCREF(val);
return val;
}
%%