GTK uses the same code style that we use. Copy the style checks from GTK to help contributors catch these mistakes early.