On Mon, Dec 29, 2008 at 7:52 PM, Maciej Piechotka <uzytkownik2@xxxxxxxxx> wrote: > Hello. How to handle it in the most glib-style. I have a 2 classes - A > and B. > A: > - Should have a virtual method returning B > B: > - Should have a virtual method returning A > Generally in C, we'll use a common header to declare a forward declaration of the instance types: typedef _FooA FooA typedef _FooB FooB Then both headers of A and B classes can include the same header without including eachother. Cheers, -Tristan _______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list