The GtkMenuButton standalone demo includes the component-local (core/xframe_core.h) copy first, which lacked xf::draw_triangle_left that the direction work (C1) calls -- the demo build failed while the designer build worked (registry.h includes another component first, whose core include resolves to the shared copy, and the include guard then skips this copy). Mirror of draw_triangle_right in this file.