Remove erroneous debug print introduced in last commit
[platform/core/uifw/at-spi2-atk.git] / atk-adaptor / accessible-cache.c
index a0922e6..afaedb0 100644 (file)
@@ -422,6 +422,9 @@ spi_cache_foreach (SpiCache * cache, GHFunc func, gpointer data)
 gboolean
 spi_cache_in (SpiCache * cache, GObject * object)
 {
+  if (!cache)
+    return FALSE;
+
   if (g_hash_table_lookup_extended (cache->objects,
                                     object,
                                     NULL,