(no subject)



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





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