mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 11:20:12 +00:00
Merge branch 'header-bar-leak4' into 'master'
GtkHeaderBar: Don't leak decoration layout See merge request GNOME/gtk!822
This commit is contained in:
commit
a8aa7afa13
@ -2045,6 +2045,7 @@ gtk_header_bar_set_decoration_layout (GtkHeaderBar *bar,
|
||||
|
||||
priv = gtk_header_bar_get_instance_private (bar);
|
||||
|
||||
g_free (priv->decoration_layout);
|
||||
priv->decoration_layout = g_strdup (layout);
|
||||
priv->decoration_layout_set = (layout != NULL);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user