From f3aea0247a1949e216b23e882bca6018f4c85f05 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Thu, 30 Jan 2020 09:35:53 +0000 Subject: [PATCH] malcontent-control: Use new error domain and codes The error domain was renamed in libmalcontent, so we should use the new domain rather than the compatibility defines. Signed-off-by: Philip Withnall --- malcontent-control/user-controls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/malcontent-control/user-controls.c b/malcontent-control/user-controls.c index ca490df..5cf6cae 100644 --- a/malcontent-control/user-controls.c +++ b/malcontent-control/user-controls.c @@ -336,7 +336,7 @@ update_app_filter (MctUserControls *self) if (act_user_get_uid (self->user) != getuid () && self->permission != NULL && !g_permission_get_allowed (self->permission) && - g_error_matches (error, MCT_APP_FILTER_ERROR, MCT_APP_FILTER_ERROR_PERMISSION_DENIED)) + g_error_matches (error, MCT_MANAGER_ERROR, MCT_MANAGER_ERROR_PERMISSION_DENIED)) { g_clear_error (&error); g_debug ("Not enough permissions to retrieve app filter for user '%s'",