static PyObject *hook_call(HookObject *self, PyObject *args)
{
+ PyObject *ret;
GSList *it, *next;
gboolean stop = FALSE;
}
for (it = self->funcs; !stop && it != NULL;) {
- next = it->next; /* incase the hook removes itself */
+ next = it->next; /* incase the hook removes itself */
- PyObject *ret = PyObject_CallObject(it->data, args);
+ ret = PyObject_CallObject(it->data, args);
if (ret == NULL)
return NULL;
if (ret != Py_None)