entry completion: add checks that entry is set already
authorBilal Elmoussaoui <belmouss@redhat.com>
Tue, 8 Feb 2022 09:51:38 +0000 (10:51 +0100)
committerBilal Elmoussaoui <belmouss@redhat.com>
Tue, 8 Feb 2022 10:22:52 +0000 (11:22 +0100)
commit883e8328e0ef45768126d3b52dc14b2a95f8ce4d
treeaaab2badc55a44cd7c1d93c6d34f3762fe26f845
parentc6d5816c95c258a209435e49974d4c320425a22e
entry completion: add checks that entry is set already

If any of the APIs that assumes that the entry is set already is used
before having one already set, things break pretty badly.

Fixes a downstream issue reported at https://github.com/gtk-rs/gtk4-rs/issues/873
gtk/gtkentrycompletion.c