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: 1f5b48a59e
(cherry picked from commit bbc88cd07f)
(cherry picked from commit b873a93b93)
This commit is contained in:
Thomas Haller 2018-09-19 07:57:30 +02:00
parent d506400ef3
commit ea4150d08f

View file

@ -1292,7 +1292,7 @@ nm_object_class_init (NMObjectClass *nm_object_class)
/* Properties */
/**
* NMObject:path: (skip)
* NMObject:path:
*
* The D-Bus object path.
**/