[9838] in The GTK GIMP ToolKit mailing list archive
[gtk-list] changing colors ?
daemon@ATHENA.MIT.EDU (reich@informatik.tu-muenchen.de)
Wed Nov 4 09:40:18 1998
From: reich@informatik.tu-muenchen.de
To: gtk-list@redhat.com
Date: Wed, 4 Nov 1998 15:36:54 +0100 (MET)
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com
Hi
I'm having sort of a problem here.
I'm writing a little application which includes
four pixmaps.
Now I need to change the colors of these pics from time
to time, and I'm trying to figure out how to, since a week or so...
All four pixmaps are created from the same xpm data,
but with different color definitions using gdk_pixmap_create_from_xpm_d().
Now, when I try to change the colors by creating another
pixmap (again using same data with different colors) and then
using gtk_pixmap_set() to update the picture, I get a crash/coredump.
gdb reveals that gdk_window_get_colormap() crashes when being called
by gdk_pixmap_colormap_create_from_xpm_d() with window=0x0 ...
If anyone cares, I can give more details on this...
--
greetings,
_ _
(_' |_)
,_)tefan | \eich(@informatik.tu-muenchen.de)
--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null