Re: [gtk-list] Cannot load pixmaps ...
- From: Patrice Fortier <Patrice Fortier aquarel fr>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Cannot load pixmaps ...
- Date: Tue, 9 Dec 1997 14:09:44 +0100
Mike Flouris wrote:
> pixmap = gdk_pixmap_create_from_xpm( parent->window, &mask,
> &style->fg[GTK_STATE_NORMAL], xpm_filename);
> I get a : ** WARNING **: XShmAttach failed!
> and the pixmap is not loaded.
> (Platform is Solaris 2.6 / Sun Ultra)
> I'm sure everything else is Ok(filename, etc.)
> This code is also included in the tutorial ...
First, try the patch gtk-fortier-971207-0.patch.gz. It corrects
a pixmap bug on Solaris I introduced last month (shame on me).
I found a bug (maybe an old one?) on gtktest in the pixmap widget:
If the widget can't find the pixmap file, the result is NULL. But it
seems that an other part of the widget expect a non-NULL pixmap...
--> segv.
Are you sure that your program find the pixmap file? (it's a stupid
question but...) :)
Patrice.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]