const errors in gdk_pixbuf_new_from_xpm_data?



(I think this is too technical and pedantic for Bugzilla)

It seems to me that the argument list for 
gdk_pixbuf_new_from_xpm_data is incorrect; it should be:
(const char *const *data), not (const char **data).

With the current argument the caller needs to cast a totally 
const xpm input.

I've just had a look at the most up-to-date code and it looks 
like there is no problem, although the change needs to be 
propogated down into io-xpm.c too.

(Why don't I fix it?  Because I don't want to upset my Red Hat 
Enterprise Linux machine, with its ancient 2.2)

-- 
Bill Medland
mailto:billmedland mercuryspeed com
http://webhome.idirect.com/~kbmed




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