diff options
author | Carlos Garcia Campos <[email protected]> | 2014-08-15 13:07:12 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-08-28 16:04:01 +0200 |
commit | d16ebefe945ddca508e2e7c7e360f671078cf5d3 (patch) | |
tree | b9b2d00310414ba32fb102d308a55c09cee92335 /libdocument/ev-mapping-list.c | |
parent | c284fdd869066085c756f617ac6787abe06769c6 (diff) | |
download | atril-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.c | 3 |
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 |