> I have checked their pointers and they are 0 in the third file > (where the boxes are attached to the buttons, but in the second > where the boxes are created(in constructor) the boxes' pointers are correct) Outside of your Gui constructor, none of the provided code actually changes the values of the Gui box pointer attributes. So, if you are seeing them non-zero after Gui instantiation, and zero later, some other code must be changing them, or a memory problem is overwriting them to zero (hope for the former). -Anthony Vallone _______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list