[Xfce4-commits] <thunar:master> Add some debug checks.
Nick Schermer
noreply at xfce.org
Mon Oct 29 22:34:01 CET 2012
Updating branch refs/heads/master
to 697b921b9a6fac4e3901bcb9a0bdd93f2f452a3a (commit)
from 134d0187afd0c2ebc2d0e47fbde4bda71b25fbb9 (commit)
commit 697b921b9a6fac4e3901bcb9a0bdd93f2f452a3a
Author: Nick Schermer <nick at xfce.org>
Date: Mon Oct 29 22:29:31 2012 +0100
Add some debug checks.
thunar/thunar-folder.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/thunar/thunar-folder.c b/thunar/thunar-folder.c
index 5cbadb5..3be87ba 100644
--- a/thunar/thunar-folder.c
+++ b/thunar/thunar-folder.c
@@ -636,6 +636,8 @@ thunar_folder_monitor (GFileMonitor *monitor,
_thunar_return_if_fail (THUNAR_IS_FOLDER (folder));
_thunar_return_if_fail (folder->monitor == monitor);
_thunar_return_if_fail (folder->job == NULL);
+ _thunar_return_if_fail (THUNAR_IS_FILE (folder->corresponding_file));
+ _thunar_return_if_fail (G_IS_FILE (event_file));
/* check on which file the event occurred */
if (!g_file_equal (event_file, thunar_file_get_file (folder->corresponding_file)))
More information about the Xfce4-commits
mailing list