Commit 7ef362ec authored by Matthias Clasen's avatar Matthias Clasen

GtkEntryCompletion: add a sanity check

Patch by John Lindgren,
https://bugzilla.gnome.org/show_bug.cgi?id=650110
parent 7839c27e
......@@ -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;
......
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