diff options
author | infirit <[email protected]> | 2014-12-10 00:59:32 +0100 |
---|---|---|
committer | infirit <[email protected]> | 2014-12-10 00:59:32 +0100 |
commit | 2c08466a0dbce10eaebb8c4a565497122cb33e5c (patch) | |
tree | d6e2ba6c2dce393b62f9e0338e4705529acad52d | |
parent | a828cb1a5c0835d08a17c86f64d571436f93f980 (diff) | |
download | atril-2c08466a0dbce10eaebb8c4a565497122cb33e5c.tar.bz2 atril-2c08466a0dbce10eaebb8c4a565497122cb33e5c.tar.xz |
Fixed minor bug, it returned NULL when expecting gboolean
Taken from evince commit: d9458f7a82b916efcc7bebf576388ef9bf2e8e45
From: danigm <[email protected]>
-rw-r--r-- | backend/pdf/ev-poppler.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/pdf/ev-poppler.cc b/backend/pdf/ev-poppler.cc index 4fd62dce..1e856ae6 100644 --- a/backend/pdf/ev-poppler.cc +++ b/backend/pdf/ev-poppler.cc @@ -2067,7 +2067,7 @@ pdf_document_text_get_text (EvDocumentText *selection, { PopplerPage *poppler_page; - g_return_val_if_fail (POPPLER_IS_PAGE (page->backend_page), NULL); + g_return_val_if_fail (POPPLER_IS_PAGE (page->backend_page), FALSE); poppler_page = POPPLER_PAGE (page->backend_page); |