diff options
author | Carlos Garcia Campos <carlosgc@gnome.org> | 2010-07-11 08:52:34 (GMT) |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@gnome.org> | 2010-07-12 17:12:01 (GMT) |
commit | 356536f6b8b44bfcf13c644a26ecdd583465bc0f (patch) | |
tree | 8b9cb701358fccc2d3a269f02308fd99fe853b0c /libdocument/ev-document-links.c | |
parent | c3f6c6c0006922557b54e263513c38ac7c88a12d (diff) |
Add EvMappingList data struct instead of using a GList
It just wraps the GList and adds reference counting
Diffstat (limited to 'libdocument/ev-document-links.c')
-rw-r--r-- | libdocument/ev-document-links.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/libdocument/ev-document-links.c b/libdocument/ev-document-links.c index 7b31c4d..b8aae5d 100644 --- a/libdocument/ev-document-links.c +++ b/libdocument/ev-document-links.c @@ -54,16 +54,13 @@ ev_document_links_get_links_model (EvDocumentLinks *document_links) return retval; } -GList * +EvMappingList * ev_document_links_get_links (EvDocumentLinks *document_links, EvPage *page) { EvDocumentLinksInterface *iface = EV_DOCUMENT_LINKS_GET_IFACE (document_links); - GList *retval; - retval = iface->get_links (document_links, page); - - return retval; + return iface->get_links (document_links, page); } EvLinkDest * |