From 1820d0db693657733bdd521f50503065a10d0f41 Mon Sep 17 00:00:00 2001 From: Stephen Collins Date: Mon, 13 May 2019 01:23:40 -0600 Subject: [PATCH] Switch deprecated gtk_icon_info_free to g_object_unref (#301) --- plugins/filebrowser/xed-file-browser-utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/filebrowser/xed-file-browser-utils.c b/plugins/filebrowser/xed-file-browser-utils.c index 39eb91f..5037f61 100644 --- a/plugins/filebrowser/xed-file-browser-utils.c +++ b/plugins/filebrowser/xed-file-browser-utils.c @@ -91,7 +91,7 @@ xed_file_browser_utils_pixbuf_from_icon (GIcon *icon, } ret = gtk_icon_info_load_icon (info, NULL); - gtk_icon_info_free (info); + g_object_unref (info); return ret; }