libnm: don't include "nm-version.h" in "nm-dbus-interface.h"

System Internals / NetworkManager - Thomas Haller [redhat.com] - 25 September 2015 08:42 UTC

We want "nm-dbus-interface.h" to have no dependancy on libnm and glib. That way, it is usable for example in the QT examples without dragging in dependencies to glib.

Also drop all the unneccessary include to "nm-dbus-interface.h", which we already get by directly or indirectly including "nm-core-types.h".

c085296 libnm: don't include "nm-version.h" in "nm-dbus-interface.h"
libnm-core/nm-core-internal.h | 1 -
libnm-core/nm-core-types.h | 1 +
libnm-core/nm-dbus-interface.h | 2 --
libnm-core/nm-errors.c | 1 -
libnm-core/nm-setting-olpc-mesh.c | 1 -
libnm-core/nm-setting-wireless.c | 1 -
libnm-core/nm-setting-wireless.h | 1 -
libnm-core/nm-utils.h | 1 -
8 files changed, 1 insertion(+), 8 deletions(-)

Upstream: cgit.freedesktop.org


  • Share