hi,
        I have written a small widget which draws a pie diagram for the
user given data, while compiling it I am not getting any error, but if I
run that , I am getting the following error :

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.

Thank you in anticipation,

Pavan Kumar


_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to