Skip to content

Fix menu-actions GTK callback pointer handling#4925

Open
B2krobbery wants to merge 3 commits intoAlexays:masterfrom
B2krobbery:fix-menu-actions-pointer
Open

Fix menu-actions GTK callback pointer handling#4925
B2krobbery wants to merge 3 commits intoAlexays:masterfrom
B2krobbery:fix-menu-actions-pointer

Conversation

@B2krobbery
Copy link
Contributor

Fix pointer lifetime handling for menu-actions GTK callbacks.

The previous implementation passed a temporary pointer to the GTK callback.
This patch ensures the pointer remains valid by referencing the stored
string from menuActionsMap_.

Verified build locally and tested with Waybar.

@B2krobbery B2krobbery force-pushed the fix-menu-actions-pointer branch 3 times, most recently from 2c2f6f9 to 69b3e5e Compare March 16, 2026 18:13
@B2krobbery B2krobbery force-pushed the fix-menu-actions-pointer branch from 69b3e5e to 3cfb622 Compare March 16, 2026 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant