more pixmap changes

From: Philip Blundell <philb.a.t.gnu.org>
Date: Thu Jun 20 2002 - 04:43:19 EDT

I just checked in more changes to the libgpewidget icon handling.
Today's headlines are:

 - the old gpe_load_pixmaps / gpe_find_pixmap functions, and the even
older load_pixmaps / find_pixmap compatibility aliases, have been
removed. This will break old binaries, but I don't expect there are
many of those in circulation. (The latest packages in unstable are OK,
as is everything in CVS except gpe-contacts.)

 - the "filename" member of struct gpe_icon is now optional. If you set
this to NULL, libgpewidget will assume that the filename is the same as
the short name.

 - gpe_load_icons will explode with smoke and fire if you call it more
than once. In particular, calling it from places like errorbox.c or
other support functions is not allowed; this never really worked
properly before, so it's not a new restriction.

 - gpe_find_icon attempts to do lazy loading of pixmaps if you ask it
for something that it doesn't know about. This should allow code inside
libgpewidget itself to use icons without relying on the calling program
to create them.

I think that's all. Go wild.

p.
Received on Thu Jun 20 08:43:28 2002

This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:41:28 EDT