diff options
author | Thomas Haller <thaller@redhat.com> | 2015-08-25 15:53:08 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2015-08-25 16:37:43 +0200 |
commit | 9cace5b4117eb05efb24b8fc9cec533231f3c8fc (patch) | |
tree | e53ffc4732543458530d047bd6b11ac399a95ae5 | |
parent | cf16010fb6bef8f75471694a6469f0ccca97e256 (diff) | |
download | NetworkManager-9cace5b4117eb05efb24b8fc9cec533231f3c8fc.tar.gz |
libnm/trivial: add code comment to _nm_dbus_error_has_name()
-rw-r--r-- | libnm-core/nm-dbus-utils.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libnm-core/nm-dbus-utils.c b/libnm-core/nm-dbus-utils.c index 730a0eb3ec..8627278623 100644 --- a/libnm-core/nm-dbus-utils.c +++ b/libnm-core/nm-dbus-utils.c @@ -269,6 +269,11 @@ _nm_dbus_proxy_call_sync (GDBusProxy *proxy, * * Checks if @error is set and corresponds to the D-Bus error @dbus_error_name. * + * This should only be used for "foreign" D-Bus errors (eg, errors + * from BlueZ or wpa_supplicant). All NetworkManager D-Bus errors + * should be properly mapped by gdbus to one of the domains/codes in + * nm-errors.h. + * * Returns: %TRUE or %FALSE */ gboolean |