mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-17 06:10:15 +00:00
window: Don't update type hint when it didn't change
This commit is contained in:
parent
7a16039c2d
commit
38a07cde75
@ -3506,6 +3506,9 @@ gtk_window_set_type_hint (GtkWindow *window,
|
|||||||
|
|
||||||
priv = window->priv;
|
priv = window->priv;
|
||||||
|
|
||||||
|
if (priv->type_hint == hint)
|
||||||
|
return;
|
||||||
|
|
||||||
priv->type_hint = hint;
|
priv->type_hint = hint;
|
||||||
|
|
||||||
if (gtk_widget_get_mapped (GTK_WIDGET (window)))
|
if (gtk_widget_get_mapped (GTK_WIDGET (window)))
|
||||||
|
Loading…
Reference in New Issue
Block a user