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 27, 2024
1 parent b79fda1 commit 653c9ad
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 @@ -248,14 +248,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 653c9ad

Please sign in to comment.