diff options
-rw-r--r-- | libdocument/ev-mapping-list.c | 3 | ||||
-rw-r--r-- | libdocument/ev-mapping-list.h | 2 |
2 files changed, 2 insertions, 3 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 diff --git a/libdocument/ev-mapping-list.h b/libdocument/ev-mapping-list.h index bb9494fa..bdad4723 100644 --- a/libdocument/ev-mapping-list.h +++ b/libdocument/ev-mapping-list.h @@ -42,7 +42,7 @@ void ev_mapping_list_unref (EvMappingList *mapping_list); guint ev_mapping_list_get_page (EvMappingList *mapping_list); GList *ev_mapping_list_get_list (EvMappingList *mapping_list); -EvMappingList *ev_mapping_list_remove (EvMappingList *mapping_list, +void ev_mapping_list_remove (EvMappingList *mapping_list, EvMapping *mapping); EvMapping *ev_mapping_list_find (EvMappingList *mapping_list, gconstpointer data); |