mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-10-01 05:23:56 +00:00
bookmark-list: clear state when loading operation fails
When the load operation for the bookmark file fails (e.g. because we have no file at all), don't forget to clear the queue state.
This commit is contained in:
parent
a4953a98b6
commit
33cbf46661
|
@ -446,6 +446,7 @@ load_callback (GObject *source,
|
|||
contents = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res));
|
||||
|
||||
if (contents == NULL) {
|
||||
op_processed_cb (self);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue