Re: [gtk-list] problems with new class



If anybody cares, I found out what was wrong. I had forgotten to add
GtkObjectClass to my object's class structure. The new gtk warnings informed
me that the class structure was smaller than GtkObjectClass.

Oskar Liljeblad (osk@hem.passagen.se)

-----Original Message-----
From: Oskar Liljeblad <osk@hem.passagen.se>
To: gtk-list@redhat.com <gtk-list@redhat.com>
Date: 25 July 1998 01:42
Subject: [gtk-list] problems with new class

>I've written a new class, whose parent is GtkObject. Whenever I try to
>create a new instance of it with the myobject_new function, I get this
>error:
>
>** WARNING **: invalid unclassed pointer in cast to `MyObject`
>
(etc)





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]