summaryrefslogtreecommitdiff
path: root/backend/pdf
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-10-03 12:01:23 +0200
committerStefano Karapetsas <[email protected]>2014-10-03 12:01:23 +0200
commit86fc1e8cf98696a52079dd79235288098a7ff7ec (patch)
treebddd7935ed8df3e208ef064cc7e936c06e6af360 /backend/pdf
parent70f7aca1b8f77d00acacddccc10054496df9abb4 (diff)
downloadatril-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.cc2
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);