-
- /* We get the dimensions of the first doc so that we can make a blank
- * icon. */
- ev_document_doc_mutex_lock ();
- ev_document_thumbnails_get_dimensions (EV_DOCUMENT_THUMBNAILS (priv->document),
- 0, THUMBNAIL_WIDTH, &width, &height);
- ev_document_doc_mutex_unlock ();
-
- if (priv->loading_icon)
- g_object_unref (priv->loading_icon);
- priv->loading_icon = ev_document_misc_get_thumbnail_frame (width, height, NULL);
+ priv->loading_icons = g_hash_table_new_full (g_str_hash,
+ g_str_equal,
+ (GDestroyNotify)g_free,
+ (GDestroyNotify)g_object_unref);