summaryrefslogtreecommitdiff
path: root/bus/main.c
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2017-05-31 18:20:25 +0100
committerSimon McVittie <smcv@collabora.com>2017-06-02 10:43:29 +0100
commit093ec67b8f0e0117f614adf262042531e0be4edf (patch)
tree4a93105e30f62ff34f086f0db5f9c891e68e0ebc /bus/main.c
parent36893e76c43c2e9b5283e8dce787afd4bfbd4ffb (diff)
downloaddbus-093ec67b8f0e0117f614adf262042531e0be4edf.tar.gz
bus/driver: Make non-core interfaces unavailable on most object paths
The o.fd.DBus interface needs to remain available on arbitrary object paths for backwards compatibility, and the Introspectable interface is genuinely useful, but everything else can be skipped. This is arguably an incompatible change for the undocumented Verbose interface, and for the GetAllMatchRules method on the undocumented Stats interface: previously those were available at all object paths. Reviewed-by: Philip Withnall <withnall@endlessm.com> [smcv: Adjust comments, enum order, variable naming as per Philip's review] Signed-off-by: Simon McVittie <smcv@collabora.com> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=101256
Diffstat (limited to 'bus/main.c')
-rw-r--r--bus/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bus/main.c b/bus/main.c
index 17750ef6..71313190 100644
--- a/bus/main.c
+++ b/bus/main.c
@@ -189,7 +189,7 @@ introspect (void)
if (!_dbus_string_init (&xml))
goto oom;
- if (!bus_driver_generate_introspect_string (&xml))
+ if (!bus_driver_generate_introspect_string (&xml, TRUE))
{
_dbus_string_free (&xml);
goto oom;