<p><a href="https://github.com/vfaronov" class="user-mention">@vfaronov</a> as the comment mentions, <code>gtk_menu_item_set_label()</code> wasn't added until GTK+ 2.16, and at the time of the referenced commit, <a href="https://github.com/geany/geany/blob/3456b7cc4a048b0352b412a1a9c2c706aedebdfa/configure.in#L131">Geany was still supporting GTK+ 2.8</a>. I'm not sure what the mnemonic mention is about though, mnemonics are supported through <code>_set_label()</code> as long as <code>use-underline</code> is <code>TRUE</code>, AFAIK.</p>

<p>That little wrapper function can probably be dropped by now and just set the labels normally.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany-plugins/issues/462#issuecomment-232503465">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/ABDrJ9d-WpTcXYlvOP-P9fgDzIs6Ad_2ks5qVWQEgaJpZM4JL2jt">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ2-m3D9wP21_SWu1kDkh5b1dVMVFks5qVWQEgaJpZM4JL2jt.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany-plugins/issues/462#issuecomment-232503465"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>