Warning: unref is deprecated since 3.0.
Removes a reference from this, deallocating the cursor if no references remain.
Use unref instead
a Cursor