From 9593b1988d17a0cb552a80cccc55c4738301e981 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Sun, 8 Jan 2017 20:34:21 +0100 Subject: Fontviewer: font-model, drop gtk_icon_info_free gtk_icon_info_free is deprecated, use g_object_unref instead. taken from: https://git.gnome.org/browse/gnome-font-viewer/commit/?id=c678c68 --- font-viewer/font-model.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'font-viewer') diff --git a/font-viewer/font-model.c b/font-viewer/font-model.c index 0f3d2871..c0928203 100644 --- a/font-viewer/font-model.c +++ b/font-viewer/font-model.c @@ -544,7 +544,7 @@ get_fallback_icon (void) return NULL; pix = gtk_icon_info_load_icon (icon_info, NULL); - gtk_icon_info_free (icon_info); + g_object_unref (icon_info); return pix; } -- cgit v1.2.1