diff --git a/gtk/gtkentrycompletion.c b/gtk/gtkentrycompletion.c index 41f707f432..b88fa802f3 100644 --- a/gtk/gtkentrycompletion.c +++ b/gtk/gtkentrycompletion.c @@ -1263,6 +1263,7 @@ gtk_entry_completion_complete (GtkEntryCompletion *completion) gchar *tmp; g_return_if_fail (GTK_IS_ENTRY_COMPLETION (completion)); + g_return_if_fail (GTK_IS_ENTRY (completion->priv->entry)); if (!completion->priv->filter_model) return;