GNOME Bugzilla – Bug 653079
GtkStatusIcon: gtk_widget_size_allocate warning
Last modified: 2014-08-30 05:20:15 UTC
Created attachment 190341 [details] demo app I have the following errors when running this simple app with Gtk+ master. (a.out:22863): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate toplevel GtkTrayIcon 0xf0e030. Allocation is 24x24, but minimum required size is 48x48. (a.out:22863): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkTrayIcon's child GtkImage 0xf18000. Allocation is 24x24, but minimum required size is 48x48. (a.out:22863): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate toplevel GtkTrayIcon 0xf0e030. Allocation is 24x24, but minimum required size is 48x48. These errors are not present with Gtk+ 3.0.11 so that's a 3.1 regression.
The errors are just as present. Whats new is just the warning.
*** Bug 652990 has been marked as a duplicate of this bug. ***
*** Bug 653540 has been marked as a duplicate of this bug. ***
Additionally, for window it causes Gtk+ to stretch it at maximum allowed size. I'm running Gtk+ master three weeks old.
(In reply to comment #1) > The errors are just as present. Whats new is just the warning. Ok, then that's GtkStatusIcon not getting the right size. We do: priv->icon = gtk_status_icon_new (); (...) gtk_status_icon_set_from_icon_name (priv->icon, "user-offline");
GtkStatusIcon has been deprecated