include: add nm-dbus-compat.h
authorDan Winship <danw@redhat.com>
Mon, 13 Apr 2015 14:28:17 +0000 (10:28 -0400)
committerDan Winship <danw@redhat.com>
Fri, 24 Jul 2015 17:25:47 +0000 (13:25 -0400)
commitdd0e19895532504e6de615d18a761457ec685b58
tree5df8230a545e0bd0fe6be3835962ddcdff00a088
parentf2174b623f814115207331f4ad0d3e944d1f323b
include: add nm-dbus-compat.h

Add a file containing the defines like DBUS_INTERFACE_DBUS from
dbus-shared.h, and use it from the gdbus-using files.

Also, convert a bunch of other places that were previously hardcoding
the string values to use the defines instead, and fix the ifcfg-rh
plugin to properly namespace its own D-Bus-related defines.
14 files changed:
include/Makefile.am
include/nm-dbus-compat.h [new file with mode: 0644]
libnm-glib/nm-active-connection.c
libnm-glib/nm-device.c
libnm-glib/nm-object.c
libnm-glib/nm-remote-settings.c
libnm-glib/nm-vpn-plugin.c
libnm/nm-dbus-helpers.h
libnm/tests/common.c
src/devices/team/nm-device-team.c
src/devices/wwan/nm-modem-manager.c
src/nm-dbus-manager.c
src/settings/plugins/ifcfg-rh/plugin.c
src/supplicant-manager/nm-supplicant-interface.c