[maemo-developers] [maemo-developers] gtk+ builtin stock icons removed

From: Tommi Komulainen tommi.komulainen at nokia.com
Date: Wed Oct 26 19:48:21 EEST 2005
FYI,

Starting from gtk+2.0 2.6.4-1.osso75 the builtin GTK_STOCK_* default
icons will be removed in order to save precious memory. It should have
little impact on applications, stock menu items and buttons will simply
not display the icon which is supposed to be optional anyway.

However if your application is relying on having a stock icon visible
(such as in the toolbar) those instances need to be updated. There are
plenty of funnily named icons in the platform for you to use, and in the
worst case you can always package your own icons.

Sorry for the inconvenience.

This message was brought to you by the performance police. The builtin
stock icons compiled in the gtk+ library are causing extra >30k dynamic
memory consumption regardless of whether they're ever used. In 770 all
icons are coming from the icon theme anyway, so this is a cheap and
simple optimization to do. And everyone loves to have better
performance, right? :)


-- 
Tommi Komulainen                            <tommi.komulainen at nokia.com>


More information about the maemo-developers mailing list