From: danigm Date: Wed, 5 Jan 2011 12:57:16 +0000 (+0100) Subject: Fixed minor bug, it returned NULL when expecting gboolean. X-Git-Tag: EVINCE_2_91_5~10 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=d9458f7a82b916efcc7bebf576388ef9bf2e8e45;p=evince.git Fixed minor bug, it returned NULL when expecting gboolean. --- diff --git a/backend/pdf/ev-poppler.cc b/backend/pdf/ev-poppler.cc index ced3ef79..8c5b203c 100644 --- a/backend/pdf/ev-poppler.cc +++ b/backend/pdf/ev-poppler.cc @@ -2071,7 +2071,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);