BugFix: Fix the error usage for GLib HashTable.