char * vs. const char *





In gnome-libs/libgnomeui/gnome-pixmaps there is e.g.


GtkWidget *
gnome_pixmap_new_from_file (char *filename)

Would it make sense to chage this to 

gnome_pixmap_new_from_file (const char *filename) ?

Note that quite a few function iprototypes down to imlib would need to be changed.

Robert




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