summaryrefslogtreecommitdiff
path: root/src/nautilus-properties-window.c
diff options
context:
space:
mode:
authorOndrej Holy <oholy@redhat.com>2019-09-24 17:06:15 +0200
committerOndrej Holy <oholy@redhat.com>2019-10-03 07:44:11 +0000
commit6e1576e62cd344af3c9e0322111699a2ac78281f (patch)
tree1496001c3d0461d94a2419a72e4b411759461373 /src/nautilus-properties-window.c
parent1c181f33a2924349a7cb598e067ac84aab6861e4 (diff)
downloadnautilus-6e1576e62cd344af3c9e0322111699a2ac78281f.tar.gz
properties-window: Fix criticals when closing
The "eel_timed_wait_stop: assertion 'wait != NULL' failed" critical is printed when closing the properties window since commit c8c2fab2. This is because the timed wait has been already removed. Let's remove the wait when closing only if it has not been yet removed in order to prevent this criticals. Fixes: https://gitlab.gnome.org/GNOME/nautilus/issues/1075
Diffstat (limited to 'src/nautilus-properties-window.c')
-rw-r--r--src/nautilus-properties-window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nautilus-properties-window.c b/src/nautilus-properties-window.c
index 9d9bd1c54..969e3ffea 100644
--- a/src/nautilus-properties-window.c
+++ b/src/nautilus-properties-window.c
@@ -5240,7 +5240,7 @@ properties_window_finish (StartupData *data)
data);
}
- remove_pending (data, TRUE, TRUE, FALSE);
+ remove_pending (data, TRUE, (data->window == NULL), FALSE);
startup_data_free (data);
}