The "hide-and-show" dance makes the notebook select the next tab. https://bugzilla.gnome.org/show_bug.cgi?id=733092
Don't include gtk.h, instead include individual headers. And include config.h and gi18n-lib.h everywhere.
This tab shows css properties of a widget, and their origin.