[gtk/fix-icontheme-invalidation: 8/14] window: Use gtk_system_setting_change



commit 69cfc93df56fc5509b8d3d396b038c9112b55023
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Apr 21 16:56:42 2020 -0400

    window: Use gtk_system_setting_change
    
    Propagate GTK_SYSTEM_SETTING_DISPLAY when the display
    of the window changes.

 gtk/gtkwindow.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index a93faf3b41..f307642ebb 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -7118,6 +7118,8 @@ gtk_window_set_display (GtkWindow  *window,
     gtk_widget_map (widget);
 
   check_scale_changed (window);
+
+  gtk_widget_system_setting_changed (GTK_WIDGET (window), GTK_SYSTEM_SETTING_DISPLAY);
 }
 
 static void


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