diff options
author | Albert Astals Cid <aacid@kde.org> | 2008-07-20 13:47:11 +0200 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2008-07-20 13:49:09 +0200 |
commit | 9fb17c952dcff798e45280eeb9c718680147e766 (patch) | |
tree | 60f9ba4d216dd5a77a26f9d831f9478a1d3b718d /glib | |
parent | 3696025977fd345b12767f75a2de6ed7e9467365 (diff) |
Fix condition, we want thumb to be a Stream, not to be non null
Fixes bug 16579
Diffstat (limited to 'glib')
-rw-r--r-- | glib/poppler-page.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/poppler-page.cc b/glib/poppler-page.cc index 9d41ecbd..cf737cd1 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; |