Revert "glib: Pass the pointer, because obj's pointer might become invalid at some time"

This reverts commit b787c5ea4eaecfffd23ed9fb9897eb5a9285ab32.
Check if Handle is Zero before converting