diff options
-rw-r--r-- | cython/notification_proxy.pxi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cython/notification_proxy.pxi b/cython/notification_proxy.pxi index 4ffbf07..203c783 100644 --- a/cython/notification_proxy.pxi +++ b/cython/notification_proxy.pxi @@ -70,7 +70,7 @@ NP_ITDBPREP_DID_END = C_NP_ITDBPREP_DID_END NP_LANGUAGE_CHANGED = C_NP_LANGUAGE_CHANGED NP_ADDRESS_BOOK_PREF_CHANGED = C_NP_ADDRESS_BOOK_PREF_CHANGED -cdef void np_notify_cb(const_char_ptr notification, void *py_callback): +cdef void np_notify_cb(const_char_ptr notification, void *py_callback) with gil: (<object>py_callback)(notification) cdef class NotificationProxyError(BaseError): |