Renamed WMGetApplicationIconBlendedPixmap() to
commit2eb1f26644b2507e4e486003c4bd89b8a3db394c
authordan <dan>
Tue, 24 Apr 2001 03:35:02 +0000 (24 03:35 +0000)
committerdan <dan>
Tue, 24 Apr 2001 03:35:02 +0000 (24 03:35 +0000)
treeccc2be94bc847ee7b54a69f5decc257bd4403ef5
parent4fb6cd1b1ed099b8f66956f1f8d1047162186e73
Renamed WMGetApplicationIconBlendedPixmap() to
WMCreateApplicationIconBlendedPixmap() to avoid confusion.
This is because this function does generate a new WMPixmap from the
available icon image by combining it with the specified color and you
need to call WMReleasePixmap() on the generated pixmap after you're
done with it.
This is unlike the case of WMGetApplicationIconPixmap() where it just
returns a pointer to the existing application icon pixmap that was set
before and where you don't need to release it after you're done working
with it.
To avoid this confusion about when you need to release and when not,
one is using Get (get existing, no release needed), while the other is
now using Create (generate a new pixmap, release required) in their
name.

Since this change was made to a function that was just added to the API
in the previous commit, no modification is needed to the existing
applications that use WINGs.
WINGs/ChangeLog
WINGs/NEWS
WINGs/WINGs/WINGs.h
WINGs/wappresource.c
WINGs/wfilepanel.c
WINGs/wpanel.c
src/dialog.c