summaryrefslogtreecommitdiff
path: root/print/evince/patches/patch-aa
blob: c6aa1614fe08ffdf2dac4e899b7191dc4ec72690 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-aa,v 1.3 2006/05/31 18:17:23 drochner Exp $

--- backend/ev-document-links.c.orig	2006-05-29 20:14:29.000000000 +0200
+++ backend/ev-document-links.c
@@ -74,6 +74,8 @@ ev_document_links_get_links (EvDocumentL
 	EvDocumentLinksIface *iface = EV_DOCUMENT_LINKS_GET_IFACE (document_links);
 	GList *retval;
 
+	if (!iface)
+		return (0);
 	retval = iface->get_links (document_links, page);
 
 	return retval;