searchentry: Improve size allocation
authorMatthias Clasen <mclasen@redhat.com>
Mon, 5 Jun 2023 01:44:37 +0000 (21:44 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 5 Jun 2023 01:50:35 +0000 (21:50 -0400)
commita8a49d270b19a8f02cd6fc337e0245c6e3a8344f
treea22a202329c04c18f57c454623537ab4bec3351a
parent419c431f295bd3de2321b90ac797c9bff07cd0ec
searchentry: Improve size allocation

We want to always reserve space for the clear icon,
but let the text widget use that space when the icon
isn't shown. A plain box layout can't do that, so
do our own size allocation.
gtk/gtksearchentry.c