summaryrefslogtreecommitdiff
path: root/libdocument/ev-mapping-list.c
diff options
context:
space:
mode:
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