Skip to content

Commit

Permalink
codenav/goto_file: Always return FALSE from entry_inline_completion_e…
Browse files Browse the repository at this point in the history
…vent

Does not seem our place to decide whether the default handler
should not run, and it doesn't harm us any way if it does...
  • Loading branch information
gkatev committed Nov 26, 2024
1 parent a5c1a95 commit e510d89
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions codenav/src/goto_file.c
Original file line number Diff line number Diff line change
Expand Up @@ -246,14 +246,9 @@ entry_inline_completion_event(GtkEntryCompletion *completion, gchar *prefix, Gtk
if(prefix_len > entry_len)
{
entry_len_before_completion = entry_len;
return FALSE;
}
else
{
/* We know no completion will take place, no reason
* for the default sig handler to be called... */
return TRUE;
}

return FALSE;
}

/**
Expand Down

0 comments on commit e510d89

Please sign in to comment.