summaryrefslogtreecommitdiff
path: root/src/daemon
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2015-07-22 14:36:19 +0200
committerraveit65 <[email protected]>2015-07-22 14:36:19 +0200
commit5e70b95c8940e4bc1420984359243d407aeffaab (patch)
tree9134d11522be8b035594c20f1f463eae918f4668 /src/daemon
parent3e621bbb8931e819da11578767356901fd598db9 (diff)
downloadmate-notification-daemon-5e70b95c8940e4bc1420984359243d407aeffaab.tar.bz2
mate-notification-daemon-5e70b95c8940e4bc1420984359243d407aeffaab.tar.xz
GTK3: replace deprecated gtk_icon_info_free
Diffstat (limited to 'src/daemon')
-rw-r--r--src/daemon/daemon.c4
1 files changed, 4 insertions, 0 deletions
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)