@vfaronov as the comment mentions, `gtk_menu_item_set_label()` wasn't added until GTK+ 2.16, and at the time of the referenced commit, [Geany was still supporting GTK+ 2.8](https://github.com/geany/geany/blob/3456b7cc4a048b0352b412a1a9c2c706aedebdfa...). I'm not sure what the mnemonic mention is about though, mnemonics are supported through `_set_label()` as long as `use-underline` is `TRUE`, AFAIK.
That little wrapper function can probably be dropped by now and just set the labels normally.
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/issues/462#issuecomment-232503465