<p>Yup, <code>gtk_menu_shell_insert(menubar, menu_vc, g_list_length(gtk_container_get_children(menubar)) - 1);</code> would work.<br>
But as said, this is just cosmetics. If you have time, I guess <a href="https://github.com/frlan" class="user-mention">@frlan</a> would merge a PR happily or even fix it himself :).</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/geany/geany-plugins/commit/c6a7968d5ab71961db4b0a5e721d378048e60119#commitcomment-16518951">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ0t0VQ_Vow0YN2kI59vrcV2i8YrCks5pqbr8gaJpZM4HqCdq.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/commit/c6a7968d5ab71961db4b0a5e721d378048e60119#commitcomment-16518951"></link>
  <meta itemprop="name" content="View Commit"></meta>
</div>
<meta itemprop="description" content="View this Commit on GitHub"></meta>
</div>