i haven't test it directly on GTK+. in fact i use SWT( a java widget toolkit
from IBM). the error happens when the first window is created which through
a JNI call to the gdk_pixmap_new with depth=-1. the logic in java side is
quite easy and in fact if we change depth from -1 to 16, the application
works fine.

i'll see if i can provide a test sample. however, since i'm not really
familar with gdk stuff, i'm not sure when i can make one.

thanks and best regards,

ln
----- Original Message -----
From: "Sven Neumann" <[EMAIL PROTECTED]>
To: "Liu, Nian(Neo)" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, July 29, 2003 5:13 PM
Subject: [directfb-dev] Re: pixmap with depth equals -1


> Hi,
>
> "Liu, Nian\(Neo\)" <[EMAIL PROTECTED]> writes:
>
> > not sure it's the right place to ask GTK+-DirectFB
> > questions. however, it seems the only place related to development.
>
> It's the correct place for such questions.
>
> > when directly calling gdk_pixmap_new with parameter "depth" equals
> > -1, struct GdkDrawableImplDirectFB in GdkWindow seems not fully
> > initialized which makes IDirectFBSurface equals 0 and the latter
> > cause a signal 11.
>
> Perhaps you could provide a simple test case that demonstrates the
> problem?
>
>
> Sven
>
>
> --
> Info:  To unsubscribe send a mail to [EMAIL PROTECTED] with
> "unsubscribe directfb-dev" as subject.
>
>



-- 
Info:  To unsubscribe send a mail to [EMAIL PROTECTED] with 
"unsubscribe directfb-dev" as subject.

Reply via email to