Re: Is it a bug with gdk_property_get() ,implemented in directFB?
- From: Sven Neumann <sven gimp org>
- To: sandy_21 <sandy_21 sina com>
- Cc: Gtk-list <gtk-list gnome org>
- Subject: Re: Is it a bug with gdk_property_get() ,implemented in directFB?
- Date: 10 Jul 2002 05:00:29 +0200
Hi,
sandy_21 <sandy_21 sina com> 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]