Hi,
sandy_21 <[EMAIL PROTECTED]> writes:
> I invoked this API like this:
> int actual_length,actual_format;
> GdkAtom actual_property_type;
> jobject *obj_ptr;
>
> * gdk_property_get* (event->any.window,
> gdk_atom_intern ("_GNU_GTKAWT_ADDR", FALSE),
> gdk_atom_intern ("CARDINAL", FALSE),
> 0,
> sizeof (jobject),
> FALSE,
> &actual_property_type,
> &actual_format,
> &actual_length/*NULL*/,
> (guchar **)&obj_ptr))
>
> the output like following:
>
> (:9559): Gdk-DirectFB-CRITICAL **: file gdkwindow-directfb.c: line
> 1702 (gdk_window_get_events): assertion `GDK_IS_WINDOW (window)' failed
>
> (:9559): Gdk-DirectFB-CRITICAL **: file gdkwindow-directfb.c: line
> 1714 (gdk_window_set_events): assertion `GDK_IS_WINDOW (window)' failed
>
> (:9559): Gdk-DirectFB-CRITICAL **: file gdkproperty-directfb.c: line
> 225 (gdk_property_change): assertion `GDK_IS_WINDOW (window)' failed
>
> every time this error will happen,is it a bug of
> gdk_property_get in DirectFB,when i build gdk-target=linux-fb,then
> compile the app,same error ocur.
I assume that you've also tested your code against the X11 backend
and it worked there? On a first glimpse this looks like you are
passing invalid (possibly NULL) pointers to the GDK functions. You
are aware that widget->window is NULL until the widget is realized,
are you?
Salut, Sven
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list