From ea4150d08f8271570383af9d279aed5fdc0d2f13 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Wed, 19 Sep 2018 07:57:30 +0200 Subject: [PATCH] libnm: don't skip NMObject:path from documentation and introspection The D-Bus path is a useful property, also exposed via nm_object_get_path() function. Don't mark it to be skipped from documentation and introspection. This was changed in "1f5b48a59e libnm: use the o.fd.DBus.ObjectManager API for object management" and was an API breakage of libnm. This also caused a bug in gnome-shell [1]. [1] https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/240/diffs [2] https://bugzilla.redhat.com/show_bug.cgi?id=1628263 https://gitlab.freedesktop.org/NetworkManager/NetworkManager/merge_requests/16 Fixes: 1f5b48a59eb46c40cb10bf4381b2b21a19a9f471 (cherry picked from commit bbc88cd07f6385ebfea1204b76b9f2d52f052c63) (cherry picked from commit b873a93b9317ce50c9279d07ab2de9801d9ce6a0) --- libnm/nm-object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libnm/nm-object.c b/libnm/nm-object.c index da2fbb79c0..85db80a84f 100644 --- a/libnm/nm-object.c +++ b/libnm/nm-object.c @@ -1292,7 +1292,7 @@ nm_object_class_init (NMObjectClass *nm_object_class) /* Properties */ /** - * NMObject:path: (skip) + * NMObject:path: * * The D-Bus object path. **/