No Subject

I am coding a simple program and had a label defined with: 

label = gtk_label_new ("Just a \nstupid progam\n with no meaning.");
gtk_box_pack_end (GTK_BOX(box1), label, TRUE, TRUE, 5);

And had a function that was suposed to detroy this label that was
 defined like this:

void kill_label () {
gtk_object_destroy( GTK_OBJECT(label));

This doesn't work. What does?

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