With gimp_guide_custom_new(), you can create a custom guide with a different style on canvas (other pattern/color/width). A custom guide won't be saved and could be used, for instance, for specific GEGL op guiding.
because it doesn't and shouldn't depend on GimpDisplayShell at all. In the future, it will take its defaults from the canvas' theme.