shared: move NM_UTILS_ERROR to shared-utils
authorThomas Haller <thaller@redhat.com>
Fri, 18 Mar 2016 12:59:57 +0000 (13:59 +0100)
committerThomas Haller <thaller@redhat.com>
Sat, 26 Mar 2016 11:10:53 +0000 (12:10 +0100)
commit72216f73599760977a54bb8b96b1c8054f92ba6a
tree9ec26fd0bdde2a5a042ef5058191d25cce11a835
parentfafc90526be534a9cc4acdbcd02df43424d8304b
shared: move NM_UTILS_ERROR to shared-utils

NM_UTILS_ERROR is our way to say, that we don't care about
the GError domain and code. nmcli sometimes passes domain "1"
and code "0" to g_set_error(), which could be considered
a bug.

We usually don't care about the error but only about the error
message, so let's have a universally available error quark around.
shared/nm-shared-utils.c
shared/nm-shared-utils.h
src/nm-core-utils.c
src/nm-core-utils.h