forked from AuroraMiddleware/gtk
entrycompletion: Remove unnecessary NULL check
completion really shouldn't be NULL at this point, especially since it gets dereferenced higher up in the function.
This commit is contained in:
parent
53f0c2626e
commit
c7c9a0ee51
@ -2228,7 +2228,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;
|
||||
|
Loading…
Reference in New Issue
Block a user