theme: Plug GdkPixbuf leak
https://gitlab.gnome.org/GNOME/mutter/merge_requests/991
This commit is contained in:
parent
c13ea4f48d
commit
468b09c01e
@ -862,7 +862,7 @@ meta_frame_layout_draw_with_style (MetaFrameLayout *layout,
|
|||||||
{
|
{
|
||||||
GtkIconTheme *theme = gtk_icon_theme_get_default ();
|
GtkIconTheme *theme = gtk_icon_theme_get_default ();
|
||||||
g_autoptr (GtkIconInfo) info = NULL;
|
g_autoptr (GtkIconInfo) info = NULL;
|
||||||
GdkPixbuf *pixbuf;
|
g_autoptr (GdkPixbuf) pixbuf = NULL;
|
||||||
|
|
||||||
info = gtk_icon_theme_lookup_icon_for_scale (theme, icon_name,
|
info = gtk_icon_theme_lookup_icon_for_scale (theme, icon_name,
|
||||||
layout->icon_size, scale, 0);
|
layout->icon_size, scale, 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user