Re: Unused parameter in GtkIconFactory



Jeff Franks <jcf tpg com au> writes:
> 
> In the function gtk_icon_set_render_icon the 'GtkWidget* widget'
> parameter appears unused. gtk_icon_set_render_icon passes the widget
> pointer to gtk_style_render_icon which passes it to
> gtk_default_render_icon but none of these functions appear to use it. Am
> I missing something?
> 

It could be used by a theme engine, if the theme engine so desired. 
(e.g. for the colors in the widget style).

Havoc




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]