[gtk/hc-icontheme-for-4-6] wayland/display: Don't force HighContrast icon theme




commit 317209597dc77c20d2db076a55137f80f5217015
Author: Florian Müllner <fmuellner gnome org>
Date:   Tue Jun 7 19:30:10 2022 +0200

    wayland/display: Don't force HighContrast icon theme
    
    The theme is considered deprecated in favor of symbolic icons from
    the regular theme.
    
    Cherry-picked from main.

 gdk/wayland/gdkdisplay-wayland.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/gdk/wayland/gdkdisplay-wayland.c b/gdk/wayland/gdkdisplay-wayland.c
index c8100ff4fa..64d61a8983 100644
--- a/gdk/wayland/gdkdisplay-wayland.c
+++ b/gdk/wayland/gdkdisplay-wayland.c
@@ -2169,8 +2169,7 @@ gdk_wayland_display_get_setting (GdkDisplay *display,
     {
       if (strcmp (name, "gtk-decoration-layout") == 0)
         set_decoration_layout_from_entry (display, entry, value);
-      else if (strcmp (name, "gtk-theme-name") == 0 ||
-               strcmp (name, "gtk-icon-theme-name") == 0)
+      else if (strcmp (name, "gtk-theme-name") == 0)
         set_theme_from_entry (display, entry, value);
       else
         set_value_from_entry (display, entry, value);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]