Re: May gdk_pixmap_ref assert when GDK_IS_PIXMAP is true?
- From: Owen Taylor <otaylor redhat com>
- To: Clemens Eisserer <linuxhippy gmail com>
- Cc: gtk-devel-list gnome org
- Subject: Re: May gdk_pixmap_ref assert when GDK_IS_PIXMAP is true?
- Date: Mon, 31 Oct 2005 11:41:51 -0500
On Mon, 2005-10-31 at 15:25 +0000, Clemens Eisserer wrote:
> Hi again,
>
> > gdk_pixmap_ref is marked as deprecated. may try g_object_ref
>
> but in fact its just a DEFINE which renames g_object_ref to
> gdk_pixmap_ref, so in fact I use it already more or less direct ;-)
> "it fails with: GLIB CRITICAL ** GLib-GObject - g_object_ref:
> assertion `G_IS_OBJECT (object)' failed"
>
> Since this code belongs to GNU classpath I do not want to change
> anything which could break the things it a dimension which could make
> the whole cardhouse break.
>
> But the check "GDK_IS_PIXMAP(pix)" means that pix is a valid g_object, right?
> Or does GDK_IS_PIXMAP check pix for beeing a valid X-Pixmap, not a GDK
> one - but then it should fail on x86 too, shouldn't it?
I think it's simply that you have memory corruption somewhere in your
application.
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]