Commit 215f06e6 authored by Christian Hergert's avatar Christian Hergert

dspy: fix read/write detection

Fixes #1219
parent e3ca7c0b
......@@ -405,7 +405,7 @@ _dspy_property_info_to_string (DspyPropertyInfo *info)
sig = _dspy_signature_humanize (info->signature);
if (info->flags == (G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE | G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE))
if (info->flags == (G_DBUS_PROPERTY_INFO_FLAGS_READABLE | G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE))
rw = _("read/write");
else if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE)
rw = _("write-only");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment