From 68a5ec6f0657d431df06ea40cc660a9bd2aa18a1 Mon Sep 17 00:00:00 2001 From: William Hua Date: Sat, 29 Mar 2014 22:12:56 +1300 Subject: Don't load using the icon info structure if it's a bytes icon. --- libindicator/indicator-image-helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libindicator/indicator-image-helper.c b/libindicator/indicator-image-helper.c index dd32cb2..27c332f 100644 --- a/libindicator/indicator-image-helper.c +++ b/libindicator/indicator-image-helper.c @@ -69,7 +69,7 @@ refresh_image (GtkImage * image) return; } - if (icon_info != NULL) { + if (icon_info != NULL && !G_IS_BYTES_ICON(icon_names)) { GdkPixbuf *pixbuf = gtk_icon_info_load_icon(icon_info, NULL); if (gdk_pixbuf_get_height(pixbuf) < ICON_SIZE) { -- cgit v1.2.3