summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2017-01-08 20:34:21 +0100
committerraveit65 <[email protected]>2017-02-17 12:28:22 +0100
commit9593b1988d17a0cb552a80cccc55c4738301e981 (patch)
tree26ceb250ec16a74a252626e5f7fcedeeff676da1
parentcf43bae027ecc98887b56afedb0826343712c98d (diff)
downloadmate-control-center-9593b1988d17a0cb552a80cccc55c4738301e981.tar.bz2
mate-control-center-9593b1988d17a0cb552a80cccc55c4738301e981.tar.xz
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
-rw-r--r--font-viewer/font-model.c2
1 files changed, 1 insertions, 1 deletions
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;
}