GtkFileChooserWidget: check for empty instead of NULL GListModel
authorLuca Bacci <luca.bacci982@gmail.com>
Sun, 1 May 2022 14:31:47 +0000 (16:31 +0200)
committerSimon McVittie <smcv@debian.org>
Wed, 4 May 2022 10:30:16 +0000 (11:30 +0100)
commitbf8f20cfe24357b49ae5916b910411cd9e40a255
tree264d00c637e3ac04818468fb3ed62e933c1b6e36
parentb923c9161a2bfe8a7037b6a44daf17695f45e05f
GtkFileChooserWidget: check for empty instead of NULL GListModel

While porting GtkFileChooserWidget from GList to GListModel we did not
change some checks for NULL to checks for empty list.

Bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/4851
Bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/4858
Origin: upstream, 4.6.4, commit:6b740c86f907e171d5bec227677ccf81b0091d73

Gbp-Pq: Name GtkFileChooserWidget-check-for-empty-instead-of-NULL-GLis.patch
gtk/gtkfilechooserwidget.c