2005-07-02 Matthew S. Wilson <msw@rpath.com>
* shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
return NULL if the document does not implement the selection
interface.
+2005-07-02 Matthew S. Wilson <msw@rpath.com>
+
+ * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
+ return NULL if the document does not implement the selection
+ interface.
+
2005-07-02 Matthew S. Wilson <msw@rpath.com>
* tiff/tiff-document.c (tiff_document_get_page_size): scale the
{
CacheJobInfo *job_info;
+ /* the document does not implement the selection interface */
+ if (!EV_IS_SELECTION (pixbuf_cache->document))
+ return NULL;
+
job_info = find_job_cache (pixbuf_cache, page);
if (job_info == NULL)
return NULL;