summaryrefslogtreecommitdiff
path: root/src/dbusbind.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dbusbind.c')
-rw-r--r--src/dbusbind.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dbusbind.c b/src/dbusbind.c
index eb883e5dc83..4c5ab485803 100644
--- a/src/dbusbind.c
+++ b/src/dbusbind.c
@@ -374,8 +374,8 @@ xd_signature (char *signature, int dtype, int parent_type, Lisp_Object object)
break;
case DBUS_TYPE_BOOLEAN:
- if (!EQ (object, Qt) && !NILP (object))
- wrong_type_argument (intern ("booleanp"), object);
+ /* Any non-nil object will be regarded as `t', so we don't apply
+ further type check. */
sprintf (signature, "%c", dtype);
break;