diff options
author | Stefano Karapetsas <[email protected]> | 2014-10-03 12:01:23 +0200 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2014-10-03 12:01:23 +0200 |
commit | 86fc1e8cf98696a52079dd79235288098a7ff7ec (patch) | |
tree | bddd7935ed8df3e208ef064cc7e936c06e6af360 /backend/pdf | |
parent | 70f7aca1b8f77d00acacddccc10054496df9abb4 (diff) | |
download | atril-86fc1e8cf98696a52079dd79235288098a7ff7ec.tar.bz2 atril-86fc1e8cf98696a52079dd79235288098a7ff7ec.tar.xz |
pdf: Return FALSE instead of NULL in gboolean function
Closes https://github.com/mate-desktop/atril/issues/30
Diffstat (limited to 'backend/pdf')
-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 8049db55..82e83521 100644 --- a/backend/pdf/ev-poppler.cc +++ b/backend/pdf/ev-poppler.cc @@ -2069,7 +2069,7 @@ pdf_document_text_get_text_layout (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); |