<p>In <a href="https://github.com/geany/geany/pull/406#discussion_r52834471">src/symbols.c</a>:</p>
<pre style='color:#555'>> +
> + if (new_doc)
> + {
> + GeanyDocument *old_doc = document_get_current();
> +
> + navqueue_goto_line(old_doc, new_doc, tag->line);
> + }
> +
> + gtk_widget_hide(tag_goto_popup);
> + tm_tag_unref(tag);
> +}
> +
> +
> +static gboolean on_key_pressed(GtkWidget *widget, GdkEventKey *event, gpointer user_data)
> +{
> + guint state = event->state & gtk_accelerator_get_default_mod_mask();
</pre>
<p>should probably use <code>keybindings_get_modifiers()</code></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/406/files#r52834471">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJwMdhRbDCbSjCxhKWcH-RZ3O9KTwks5pj6LRgaJpZM4DUzez.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/406/files#r52834471"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>