Here are several things that are not wise to do when working with GTK-Doc:
- Have an
enumcalledXfceMenuLayoutMergeTypeand a function ending withget_layout_merge_type(). This will only make GTK-Doc think thatXfceMenuLayoutMergeTypeis aGObjectclass and then it will try to inspec the results of that function you have. In the end GTK-Doc will crash with a segmentation fault when running the scanner. - Have an
XfceMenuNodeTypeenum, this time wrapped by aGType, and aGObjectclass calledXfceMenuNode. If theGTypefunction forXfceMenuNodeTypeis calledxfce_menu_node_type_get_type()GTK-Doc will confuse it with theGTypefunction forXfceMenuNodeand thus, generate wrong API docs. - Have a class called
XfceMenuand a library intialization function calledxfce_menu_init(). GTK-Doc will always throw these two into one section because it thinks they are related.
Bad.
