From 89f35e502fbd01c75794d5333f00d6ecdd912282 Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Sat, 10 Apr 2021 14:18:42 +0100 Subject: [PATCH] Add gtk 4 support. --- apparmor.d/abstractions/gtk | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/apparmor.d/abstractions/gtk b/apparmor.d/abstractions/gtk index f69aee26..70ca0752 100644 --- a/apparmor.d/abstractions/gtk +++ b/apparmor.d/abstractions/gtk @@ -10,13 +10,13 @@ /usr/share/gtksourceview-[0-9]*/ r, /usr/share/gtksourceview-[0-9]*/** r, - /usr/share/gtk-3.0/ r, - /usr/share/gtk-3.0/settings.ini r, + /usr/share/gtk-{3,4}.0/ r, + /usr/share/gtk-{3,4}.0/settings.ini r, /etc/gtk-2.0/ r, /etc/gtk-2.0/gtkrc r, - /etc/gtk-3.0/ r, - /etc/gtk-3.0/*.conf r, + /etc/gtk-{3,4}.0/ r, + /etc/gtk-{3,4}.0/*.conf r, /etc/gtk/gtkrc r, @@ -26,12 +26,12 @@ owner @{HOME}/.gtk-bookmarks r, owner @{user_config_dirs}/gtkrc r, owner @{user_config_dirs}/gtkrc-2.0 r, - owner @{user_config_dirs}/gtk-3.0/ rw, - owner @{user_config_dirs}/gtk-3.0/settings.ini r, - owner @{user_config_dirs}/gtk-3.0/bookmarks r, - owner @{user_config_dirs}/gtk-3.0/gtk.css r, - owner @{user_config_dirs}/gtk-3.0/colors.css r, - owner @{user_config_dirs}/gtk-3.0/servers r, + owner @{user_config_dirs}/gtk-{3,4}.0/ rw, + owner @{user_config_dirs}/gtk-{3,4}.0/settings.ini r, + owner @{user_config_dirs}/gtk-{3,4}.0/bookmarks r, + owner @{user_config_dirs}/gtk-{3,4}.0/gtk.css r, + owner @{user_config_dirs}/gtk-{3,4}.0/colors.css r, + owner @{user_config_dirs}/gtk-{3,4}.0/servers r, # for gtk file dialog owner @{user_config_dirs}/gtk-2.0/ rw,