const qualifier in function arguments

Hi List,

i don't understand gtk+'s (and related libs) policy of handling
const qualifiers in function arguments. For example there is:

gtk_widget_modify_font(GtkWidget* ,PangoFontDescription* fn)

in gtk-1.3 tree. That function actually doesn't modify 'fn'
and i think it isn't supposed to. Why isn't this expressed
through a const qualifier?


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