<p>In <a href="https://github.com/geany/geany/pull/629#discussion_r40364220">src/plugins.c</a>:</p>
<pre style='color:#555'>> @@ -1137,6 +1419,27 @@ static void pm_selection_changed(GtkTreeSelection *selection, gpointer user_data
> }
>
>
> +static gboolean find_iter_for_plugin(Plugin *p, GtkTreeModel *model, GtkTreeIter *iter)
> +{
> + Plugin *pp;
> + gboolean valid;
> +
> + for (valid = gtk_tree_model_get_iter_first(model, iter);
> + valid && p;
</pre>
<p>Tried to save LOCs by avoiding an extra if () :-)</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/629/files#r40364220">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ5dl1e50OqgxVTSKwzas23ioWSBcks5o1EvAgaJpZM4Fy7fG.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/629/files#r40364220"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>