~steef/snixembed

65890389eec0b873b55ddf25d94641183cd06fdb — Steef Hegeman 2 years ago d930513
handle non-null but empty icon_pixmap
1 files changed, 2 insertions(+), 0 deletions(-)

M src/proxyicon.vala
M src/proxyicon.vala => src/proxyicon.vala +2 -0
@@ 76,6 76,8 @@ class ProxyIcon : Object {
    }

    void set_icon_pixmap(IconPixmap[] pixmaps) {
        if (pixmaps.length == 0) return;

        var pixmap = pixmaps[0]; // TODO: choose the best one

        // Convert from ARGB to RGBA