GtkStatusIcon shows allocation warning on XFCE4 panel
Submitted by fujiwara
Assigned to Nick Schermer
Created attachment 6835 Test program
When Gtk 3.21.5 GtkStatusIcon runs on XFCE4 panel, the following warning is output:
(a:6205): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate toplevel GtkTrayIcon 0x1a964c0. Allocation is 22x22, but minimum required size is 24x24.
The warning is not shown in Fedora 24 GTK3. The allocation warning is not shown on LXDE.
% gcc -o a a.c
pkg-config --cflags --libs gtk+-3.0
Attachment 6835, "Test program":