I wonder if Glib::Object->new could check its arg count to detect misuse or confusion with the various single-arg class specific "new"s. I think currently it ignores a "key" without a value. There's even an apparent stray type name (in place of a key) in the test suite.
Attachment:
GObject.xs.arg-count.diff
Description: Text Data
Attachment:
2.t.arg-count.diff
Description: Text Data