The build_toolbar() method created a local GtkBox (hbox), packed all buttons into it, but never added hbox to the window's vbox. The toolbar was created then immediately garbage collected when the function returned.
Fix
Inlined all UI construction directly into build_ui() and pack the toolbar box into the vbox with gtk_box_pack_start().
## Bug
The build_toolbar() method created a local GtkBox (hbox), packed all buttons into it, but never added hbox to the window's vbox. The toolbar was created then immediately garbage collected when the function returned.
## Fix
Inlined all UI construction directly into build_ui() and pack the toolbar box into the vbox with gtk_box_pack_start().
**Status:** Fixed in commit 75ceeff
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Bug
The build_toolbar() method created a local GtkBox (hbox), packed all buttons into it, but never added hbox to the window's vbox. The toolbar was created then immediately garbage collected when the function returned.
Fix
Inlined all UI construction directly into build_ui() and pack the toolbar box into the vbox with gtk_box_pack_start().
Status: Fixed in commit
75ceeff