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 12:12:54 +0000 (08:12 -0400)
commit03df96bace2ffa92e6466d59e37d916f0f3fdca9
tree157b63c8ff866bb6c72c6c3ab73f86d19dfd14c4
parente16f71304f7acbcc21e9d93ba346f7e35c62497c
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