]> Pileus Git - ~andy/gtk/commit
trayicon-x11: Fix warnings when visual is not available.
authorVincent Bernat <bernat@luffy.cx>
Sat, 27 Aug 2011 18:06:26 +0000 (20:06 +0200)
committerBenjamin Otte <otte@redhat.com>
Sun, 28 Aug 2011 18:20:35 +0000 (20:20 +0200)
commit6754614ac1ce8f72c0d0ec2369408ac61e080dab
tree9925d03efcf2805ff82896300d1fcfee4c95ec88
parent64b85e7bd89fb05d610d74fe4b9f63de15c6e5be
trayicon-x11: Fix warnings when visual is not available.

This fixes a regression introduced in commit
b1a1685a33eca16979e63d79915395af0b36. gdk_visual_get_*_pixel_details()
should not be called with a NULL visual.

https://bugzilla.gnome.org/show_bug.cgi?id=649588
gtk/gtktrayicon-x11.c