[poppler] Branch 'poppler-0.8' - glib/poppler-page.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Sun Jul 20 04:47:59 PDT 2008


 glib/poppler-page.cc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1d5956156193d0014fa5d3054a39bc517c501a3c
Author: Albert Astals Cid <aacid at kde.org>
Date:   Sun Jul 20 13:47:11 2008 +0200

    Fix condition, we want thumb to be a Stream, not to be non null
    
    Fixes bug 16579

diff --git a/glib/poppler-page.cc b/glib/poppler-page.cc
index 5e0b2f1..73d0f26 100644
--- a/glib/poppler-page.cc
+++ b/glib/poppler-page.cc
@@ -971,7 +971,7 @@ poppler_page_get_thumbnail_size (PopplerPage *page,
   g_return_val_if_fail (height != NULL, FALSE);
 
   page->page->getThumb (&thumb);
-  if (thumb.isNull ())
+  if (!thumb.isStream ())
     {
       thumb.free ();
       return FALSE;


More information about the poppler mailing list