]> www.fi.muni.cz Git - evince.git/commitdiff
Fixed minor bug, it returned NULL when expecting gboolean.
authordanigm <danigm@wadobo.com>
Wed, 5 Jan 2011 12:57:16 +0000 (13:57 +0100)
committerdanigm <danigm@wadobo.com>
Wed, 5 Jan 2011 13:22:14 +0000 (14:22 +0100)
backend/pdf/ev-poppler.cc

index ced3ef79fb9284149dd9eb08726fdda7ed2a378d..8c5b203ccb476eb9b6fe06ae835c88a216e68c3f 100644 (file)
@@ -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);