about summary refs log tree commit diff
path: root/src/nm-auth-utils.c
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2016-08-26 02:19:30 +0200
committerMichael Biebl <biebl@debian.org>2016-08-26 02:19:30 +0200
commit229bfa11c4d56b4c1017c81c7dbafbedd15e3153 (patch)
treeedfc7357b6494a5c0cb016bb88d61b623daa9876 /src/nm-auth-utils.c
parent6318db9c78b4fe207dfe700cfac11a675fc63dc9 (diff)
parent7514efc2f38c9ace4557d4e69d68e7d380389030 (diff)
Merge tag 'upstream/1.4.0'
Upstream version 1.4.0
Diffstat (limited to 'src/nm-auth-utils.c')
-rw-r--r--src/nm-auth-utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nm-auth-utils.c b/src/nm-auth-utils.c
index e1761cab..a6bc506c 100644
--- a/src/nm-auth-utils.c
+++ b/src/nm-auth-utils.c
@@ -399,8 +399,8 @@ nm_auth_chain_add_call (NMAuthChain *self,
 		                                                      call);
 #else
 		if (!call->chain->error) {
-			call->chain->error = g_error_new_literal (DBUS_GERROR,
-			                                          DBUS_GERROR_FAILED,
+			call->chain->error = g_error_new_literal (NM_MANAGER_ERROR,
+			                                          NM_MANAGER_ERROR_FAILED,
 			                                          "Polkit support is disabled at compile time");
 		}
 		call->call_idle_id = g_idle_add ((GSourceFunc) auth_call_complete, call);