mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 22:20:24 +00:00
GtkEntryCompletion: add a sanity check
Patch by John Lindgren, https://bugzilla.gnome.org/show_bug.cgi?id=650110
This commit is contained in:
parent
7839c27e13
commit
7ef362ec67
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user