mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
theme: Plug GtkIconInfo leak
https://gitlab.gnome.org/GNOME/mutter/merge_requests/991
This commit is contained in:
parent
1e7285b2bb
commit
c13ea4f48d
@ -861,7 +861,7 @@ meta_frame_layout_draw_with_style (MetaFrameLayout *layout,
|
|||||||
if (icon_name)
|
if (icon_name)
|
||||||
{
|
{
|
||||||
GtkIconTheme *theme = gtk_icon_theme_get_default ();
|
GtkIconTheme *theme = gtk_icon_theme_get_default ();
|
||||||
GtkIconInfo *info;
|
g_autoptr (GtkIconInfo) info = NULL;
|
||||||
GdkPixbuf *pixbuf;
|
GdkPixbuf *pixbuf;
|
||||||
|
|
||||||
info = gtk_icon_theme_lookup_icon_for_scale (theme, icon_name,
|
info = gtk_icon_theme_lookup_icon_for_scale (theme, icon_name,
|
||||||
|
Loading…
Reference in New Issue
Block a user