Commit 9c52d8e8 authored by Timm Bäder's avatar Timm Bäder 🤔 Committed by Daniel Boles

entrycompletion: Remove unnecessary NULL check

completion really shouldn't be NULL at this point, especially since it
gets dereferenced higher up in the function.
parent 61c85ba8
......@@ -2236,7 +2236,7 @@ gtk_entry_completion_key_press (GtkWidget *widget,
event->keyval == GDK_KEY_ISO_Enter ||
event->keyval == GDK_KEY_Escape)
{
if (completion && completion->priv->completion_timeout)
if (completion->priv->completion_timeout)
{
g_source_remove (completion->priv->completion_timeout);
completion->priv->completion_timeout = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment