Avoid some GWarnings when selecting away from contacts
Review Request #2233 — Created Feb. 10, 2023 and submitted
When we move the DisplayWindow to GtkListView, we moved to using an AdwBin as the container widget and just set the child to what should be displayed. When this happens to a ListView, each item gets deleted and for some reason the bound property closures in the factory get called with an item that is set to NULL. So if we get passed NULL, we just need to bail.
Ran under
gdb
withG_DEBUG=fatal-warnings
and verified that it didn't break when I switched the display window from contacts to conversations.
Summary | ID |
---|---|
b41ca38c3bc2095ae41e9fab8bfe7f9d61aff456 |