Crash during Extension Gallery search
<!--
See our full bug reporting guidelines at https://inkscape.org/contribute/report-bugs/
Writing a good bug report will ensure we'll be able to help efficiently. 🙂
-->
#### Summary:
<!-- Summarize the issue/suggestion concisely: -->
Inkscape crash during search in Extension gallery.
#### Steps to reproduce:
<!-- Describe what you did (step-by-step) so we can reproduce: -->
- open Inkscape on an empty file
- select `Extension > Extension Galley`
- Go to search bar (top right)
- Search for "water", then "quickly" cancel the text and search for "color"
#### What happened?
At this point, the program crashes. I've tried other word combinations and at some point this crash happens.
This is the minimal number and combination of words that I find that cause this issue.
Probably because related to items found in the search.
I've noticed that in order to reproduce the issue, the new search has to be performed rather quickly.
I couldn't try this on another machine.
#### Version info
<!--
Open 'Help > About' and click on the little bug icon in the bottom right corner that copies the debug information to your clipboard. For command line users, run 'inkscape --debug-info'.
For Inkscape 1.0.2 and older, please manually add the Inkscape Version and Operating System Version. The Inkscape version is listed in the About dialog. For command line users, run 'inkscape -V'
Paste the information in the empty space between the apostrophes below:
-->
```
Inkscape 1.4 (e7c3feb100, 2024-10-09)
Compile (Run)
GLib version: 2.82.2
GTK version: 3.24.43 (3.24.43)
glibmm version: 2.66.7
gtkmm version: 3.24.9
libxml2 version: 2.13.4
libxslt version: 1.1.42
Cairo version: 1.18.2 (1.18.2)
Pango version: 1.54.0 (1.54.0)
HarfBuzz version: 10.1.0 (10.1.0)
OS version: Manjaro Linux
```
I'm attaching a log of the crash.[log.txt](/uploads/a82db8b573ddc19490429d628538b935/log.txt)
<!--
❤️ Thank you for filling in a new bug report, we appreciate the help! ❤️
Please be patient while we try to find the time to look into your issue.
Remember that Inkscape is developed by volunteers in their spare time, we'll try our best to respond to all reports.
-->
<!--
Please be careful when/after writing # for example in logs, code, or versions of linux
- use inline code span - single backticks (`) before and after it, like this - `#1618`
- use multi-line code block - triple backticks (```) to fence/enclose console logs
- attach long logs as a text file.
-->
issue