summaryrefslogtreecommitdiff
path: root/libdocument/ev-mapping-list.c
diff options
context:
space:
mode:
authorCarlos Garcia Campos <[email protected]>2014-08-15 13:07:12 +0200
committerraveit65 <[email protected]>2017-08-28 16:04:01 +0200
commitd16ebefe945ddca508e2e7c7e360f671078cf5d3 (patch)
treeb9b2d00310414ba32fb102d308a55c09cee92335 /libdocument/ev-mapping-list.c
parentc284fdd869066085c756f617ac6787abe06769c6 (diff)
downloadatril-d16ebefe945ddca508e2e7c7e360f671078cf5d3.tar.bz2
atril-d16ebefe945ddca508e2e7c7e360f671078cf5d3.tar.xz
libdocument: Make ev_mapping_list_remove void
There's no reason to return the EvMappingList since it can't be modified by this function.
Diffstat (limited to 'libdocument/ev-mapping-list.c')
-rw-r--r--libdocument/ev-mapping-list.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libdocument/ev-mapping-list.c b/libdocument/ev-mapping-list.c
index 6745d1d9..3916a115 100644
--- a/libdocument/ev-mapping-list.c
+++ b/libdocument/ev-mapping-list.c
@@ -165,14 +165,13 @@ ev_mapping_list_get_list (EvMappingList *mapping_list)
*
* Since: 3.14
*/
-EvMappingList *
+void
ev_mapping_list_remove (EvMappingList *mapping_list,
EvMapping *mapping)
{
mapping_list->list = g_list_remove (mapping_list->list, mapping);
mapping_list->data_destroy_func (mapping->data);
g_free (mapping);
- return mapping_list;
}
guint