mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
Revert last change(s)
Original commit message from CVS: Revert last change(s)
This commit is contained in:
parent
e6eb16b03b
commit
e6cb4fa426
1 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
%%
|
||||
|
|
Loading…
Reference in a new issue