Skip to content

filedialog: Don't assert too much

Matthias Clasen requested to merge fix-file-dialog-assert into main

The GtkFileDialog code was asserting that we get exactly one file back. But the function is nullable anyway, so lets just return NULL if we don't have a file.

Fixes: #5975 (closed)

Merge request reports