1 /* modest-icon-factory.h */
3 #ifndef __MODEST_ICON_FACTORY_H__
4 #define __MODEST_ICON_FACTORY_H__
9 * modest_icon_factory_init
11 * initialize the modest_icon_factory, which is a runtime-wide singleton
12 * this should be called only once, before doing anything else with the icon
15 void modest_icon_factory_init (void);
19 * modest_icon_factory_uninit
21 * uninitialize the modest_icon_factory. this should be done after the icon
22 * factory is no longer needed.
24 void modest_icon_factory_uninit (void);
28 * modest_icon_factory_get_icon:
29 * @name: the filename of a certain icon
31 * Returns: a GdkPixBuf for this icon, or NULL in case of error
32 * You should NOT unref or modify the pixbuf in any way
34 GdkPixbuf* modest_icon_factory_get_icon (const gchar *name);
36 #endif /*__MODEST_ICON_FACTORY_H__ */