I'd start by searching for the exact text of one of the guide options:
So then I'd search for GIMP_GUIDES_GOLDEN, which should find where the code is that implements drawing them:
Then I'll leave it to you to get lost in the mass of code
Code:
Searching for: Golden sections
app\display\display-enums.c(64): { GIMP_GUIDES_GOLDEN, NC_("guides-type", "Golden sections"), NULL },
app\display\display-enums.h(44): GIMP_GUIDES_GOLDEN, /*< desc="Golden sections" >*/
Found 2 occurrence(s) in 2 file(s)
So then I'd search for GIMP_GUIDES_GOLDEN, which should find where the code is that implements drawing them:
Code:
Searching for: GIMP_GUIDES_GOLDEN
app\display\display-enums.c(51): { GIMP_GUIDES_GOLDEN, "GIMP_GUIDES_GOLDEN", "golden" },
app\display\display-enums.c(64): { GIMP_GUIDES_GOLDEN, NC_("guides-type", "Golden sections"), NULL },
app\display\display-enums.h(44): GIMP_GUIDES_GOLDEN, /*< desc="Golden sections" >*/
app\display\gimpcanvasrectangleguides.c(311): case GIMP_GUIDES_GOLDEN:
app\display\gimpcanvastransformguides.c(419): case GIMP_GUIDES_GOLDEN:
Found 5 occurrence(s) in 4 file(s)
Then I'll leave it to you to get lost in the mass of code