[Xfce4-commits] <tumbler:master> Extra debug check.
Nick Schermer
noreply at xfce.org
Sun May 5 21:16:01 CEST 2013
Updating branch refs/heads/master
to 472f842d2661ba506fd831d8b6fafa7474164989 (commit)
from 0a69b8d4f2bb4b16f8c9314dac9a6299a7c17d87 (commit)
commit 472f842d2661ba506fd831d8b6fafa7474164989
Author: Nick Schermer <nick at xfce.org>
Date: Sun May 5 21:15:17 2013 +0200
Extra debug check.
tumblerd/tumbler-registry.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/tumblerd/tumbler-registry.c b/tumblerd/tumbler-registry.c
index 77bc74f..61877a5 100644
--- a/tumblerd/tumbler-registry.c
+++ b/tumblerd/tumbler-registry.c
@@ -476,6 +476,8 @@ tumbler_registry_get_thumbnailer_array (TumblerRegistry *registry,
list = tumbler_registry_lookup (registry, hash_key);
for (lp = list; lp != NULL; lp = lp->next)
{
+ g_assert (lp != NULL && TUMBLER_IS_THUMBNAILER (lp->data));
+
/* check if the file size is a limitation */
max_file_size = tumbler_thumbnailer_get_max_file_size (lp->data);
if (max_file_size > 0)
More information about the Xfce4-commits
mailing list