diff options
-rw-r--r-- | src/evbp-mime.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/evbp-mime.c b/src/evbp-mime.c index 4df922a..cad4eec 100644 --- a/src/evbp-mime.c +++ b/src/evbp-mime.c @@ -100,7 +100,12 @@ evbp_mime_get_description(void) types = ev_backends_manager_get_all_types_info(); mimes = build_mime_description(types); +#if EV_MAJOR_VERSION < 3 || (EV_MAJOR_VERSION == 3 && EV_MINOR_VERSION < 4) g_list_free_full(types, (GDestroyNotify)g_free); +#else + /* evince-3.4 broke the ABI and no longer allocates list elements */ + g_list_free(types); +#endif return mimes; } |