Hi,

"Liu, Nian\(Neo\)" <[EMAIL PROTECTED]> writes:

> 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.

Do you pass a valid drawable pointer to gdk_pixmap_new()? You need to
either supply the depth or a reference drawable. You should see a
warning on the console if you don't fulfill these prerequisites.


Sven


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

Reply via email to