<blockquote>
<p>IMO it'd be cleaner to put this args struct on the stack here, and pass a pointer to it as the user_data for the idle callback, rather than a global variable. It's in the main function and enters gtk_main() below, so the lifetime should be fine.</p>
</blockquote>

<p>Good point, done.</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/pull/924#issuecomment-190654915">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ4qTiP4W8FRc7sEuJ2E1ewvqfe4Eks5ppBZfgaJpZM4HlvXl.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/pull/924#issuecomment-190654915"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>