summaryrefslogtreecommitdiff
path: root/hardinfo2/iconcache.c
diff options
context:
space:
mode:
authorLeandro A. F. Pereira <leandro@hardinfo.org>2007-10-21 15:36:04 +0000
committerLeandro A. F. Pereira <leandro@hardinfo.org>2007-10-21 15:36:04 +0000
commita1db645416cc1ce6a0e775fc2a508695d3608868 (patch)
tree763ee77b5e91cd056bdaa27fc4a1be7f1f6379be /hardinfo2/iconcache.c
parent90b5d774145be3f0929588b751c935e465cb5a44 (diff)
Disable Network Updater if there are no entries to be updated.
Diffstat (limited to 'hardinfo2/iconcache.c')
-rw-r--r--hardinfo2/iconcache.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hardinfo2/iconcache.c b/hardinfo2/iconcache.c
index af4f98c0..ed7ce209 100644
--- a/hardinfo2/iconcache.c
+++ b/hardinfo2/iconcache.c
@@ -26,6 +26,8 @@ void icon_cache_init(void)
DEBUG("initializing icon cache");
if (!cache) {
cache = g_hash_table_new(g_str_hash, g_str_equal);
+ } else {
+ DEBUG("already initialized? huh?");
}
}