Electronics & Programming


Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » GTK+
  • » May gdk_pixmap_ref if GDK_IS_PIXMAP returns true? [RSS Feed]

#1 Oct. 29, 2005 19:56:26

Clemens E.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

May gdk_pixmap_ref if GDK_IS_PIXMAP returns true?

Hi there,

I am currently hacing problems with running some GTK based code on my
Nokia770 (based on the maemo platform) which works perfektly on x86,
but fails on nokias customized ARM build. I tried already to get some
informations on their lists but it seems core-devs are there :-(

The following piece of code is causing the troubles:
g_assert(pixmap != NULL);
gdk_pixmap_ref (pixmap); <--------> fails here

it fails with:
GLIB CRITICAL ** GLib-GObject - g_object_ref: assertion `G_IS_OBJECT
(object)' failed

The thing I wonder about is if it does not assert at GDK_IS_PIXMAP,
why does the gdk_pixmap_ref say its not a gobject?
May this happen or could this be a bug in Nokia's GTK build?

Thanks in advance, lg Clemens
gtk-list mailing list


  • Root
  • » GTK+
  • » May gdk_pixmap_ref if GDK_IS_PIXMAP returns true? [RSS Feed]

Board footer

Moderator control

Enjoy the 22nd of April

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support