mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-14 14:20:21 +00:00
windowcontrols: No need to listen to scale factor changes
This is a GTK3 leftover where the icons were manually drawn and sized. Now that they're managed by actual widgets that enforce a correct size that is independent of scale factor, this is no longer necessary. Fixes warnings about resizes during allocate caused by scale change notification during allocation of GtkWindow.
This commit is contained in:
parent
65e02a3bae
commit
8e676c7360
@ -382,7 +382,6 @@ window_notify_cb (GtkWindowControls *self,
|
||||
pspec->name == I_("maximized") ||
|
||||
pspec->name == I_("modal") ||
|
||||
pspec->name == I_("resizable") ||
|
||||
pspec->name == I_("scale-factor") ||
|
||||
pspec->name == I_("transient-for"))
|
||||
update_window_buttons (self);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user