[Xfce4-commits] [panel-plugins/xfce4-places-plugin] 09/30: Replace deprecated gtk_icon_info_free
noreply at xfce.org
noreply at xfce.org
Mon Apr 22 12:08:00 CEST 2019
This is an automated email from the git hooks/post-receive script.
b l u e s a b r e p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository panel-plugins/xfce4-places-plugin.
commit 64c7f9f29efd1794d37e16d9b21f776d1550cd64
Author: Sean Davis <smd.seandavis at gmail.com>
Date: Sat Apr 20 07:30:09 2019 -0400
Replace deprecated gtk_icon_info_free
---
panel-plugin/view.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/panel-plugin/view.c b/panel-plugin/view.c
index a586c04..d51ec9a 100644
--- a/panel-plugin/view.c
+++ b/panel-plugin/view.c
@@ -460,7 +460,7 @@ pview_get_icon(GIcon *icon)
if (icon_info) {
GdkPixbuf *pix_theme = gtk_icon_info_load_icon(icon_info, NULL);
pix = gdk_pixbuf_copy(pix_theme);
- gtk_icon_info_free(icon_info);
+ g_object_unref(G_OBJECT(icon_info));
g_object_unref(G_OBJECT(pix_theme));
}
} else if(G_IS_LOADABLE_ICON(icon)) {
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list