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 <withnall@endlessm.com>
This commit is contained in:
parent
e220fd9919
commit
f3aea0247a
|
@ -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'",
|
||||
|
|
Loading…
Reference in New Issue