Even defining it as an outer class makes vala think that it is private: /* widgets is still private */ public class window_widgets { Gtk.Widget blah; Gtk.Widget blah2; } public class PhoneUIGlade : Gtk.Object { protected Glade.XML xml; public window_widgets widgets; } but if I go back to a struct, it "works" and for some reason isn't giving me incomplete class either. public struct window_widgets { Gtk.Widget blah; Gtk.Widget blah2; } public class PhoneUIGlade : Gtk.Object { protected Glade.XML xml; public window_widgets widgets; } But if I change "public" to "protected" (below) the generated .h files are correctly exposing the protected members, but vala still complains that: Access to private member `window_widgets.blah' denied if a subclass tries to access the widgets member. protected struct window_widgets { Gtk.Widget blah; Gtk.Widget blah2; } public class PhoneUIGlade : Gtk.Object { protected Glade.XML xml; protected window_widgets widgets; } * Sam Liddicott wrote, On 23/06/08 12:58: public class PhoneUIGlade : Gtk.Object { |