break;
case DBUS_TYPE_BOOLEAN:
- /* Every Emacs Lisp object serves as a boolean, so there's nothing
- to check. */
+ if (!EQ (object, Qt) && !EQ (object, Qnil))
+ wrong_type_argument (intern ("booleanp"), object);
sprintf (signature, "%c", dtype);
break;