From 5e70b95c8940e4bc1420984359243d407aeffaab Mon Sep 17 00:00:00 2001 From: raveit65 Date: Wed, 22 Jul 2015 14:36:19 +0200 Subject: GTK3: replace deprecated gtk_icon_info_free --- src/daemon/daemon.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/daemon/daemon.c b/src/daemon/daemon.c index 6bf4af9..3eb1648 100644 --- a/src/daemon/daemon.c +++ b/src/daemon/daemon.c @@ -1025,7 +1025,11 @@ static GdkPixbuf* _notify_daemon_pixbuf_from_path(const char* path) pixbuf = gtk_icon_theme_load_icon (theme, path, icon_size, GTK_ICON_LOOKUP_USE_BUILTIN, NULL); +#if GTK_CHECK_VERSION (3, 8, 0) + g_object_unref (icon_info); +#else gtk_icon_info_free (icon_info); +#endif } if (pixbuf == NULL) -- cgit v1.2.1