Re: (no subject)



> Gtk-WARNING **: The `GtkPie' class is smaller than its parent class
> `GtkWidget'
> Segmentation fault (core dumped)
> 
> The structure _GtkPieClass is as follows :
> 
> struct _GtkPieClass {
> GtkWidgetClass *parent_class;
> };
> How is it possible that sizeof(GtkPieClass) is smaller than its parent
> class.

It should be
GtkWidgetClass parent_class;

Not a pointer, but the actual class.
iain





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