[poppler] glib/poppler-page.cc

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


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

New commits:
commit 9fb17c952dcff798e45280eeb9c718680147e766
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 9d41ecb..cf737cd 100644
--- a/glib/poppler-page.cc
+++ b/glib/poppler-page.cc
@@ -973,7 +973,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