summaryrefslogtreecommitdiff
path: root/thunarx
diff options
context:
space:
mode:
authorAndre Miranda <andreldm@xfce.org>2020-01-01 19:19:02 -0300
committerAndre Miranda <andreldm@xfce.org>2020-01-01 19:19:02 -0300
commit1e076f676370050628051f27530c45878add98c3 (patch)
tree43e3b5be977ad4b726c4948af74e961eb9b004f6 /thunarx
parentbc1b71a2a24abdbfb6a3d3e7f58678cf21a44e41 (diff)
downloadthunar-1e076f676370050628051f27530c45878add98c3.tar.gz
Drop GLIB_CHECK_VERSION for <= 2.42.0
Diffstat (limited to 'thunarx')
-rw-r--r--thunarx/thunarx-file-info.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/thunarx/thunarx-file-info.c b/thunarx/thunarx-file-info.c
index ad832062..0879ad32 100644
--- a/thunarx/thunarx-file-info.c
+++ b/thunarx/thunarx-file-info.c
@@ -426,16 +426,7 @@ thunarx_file_info_list_get_type (void)
GList*
thunarx_file_info_list_copy (GList *file_infos)
{
-#if GLIB_CHECK_VERSION (2, 34, 0)
return g_list_copy_deep (file_infos, (GCopyFunc) (void (*)(void)) g_object_ref, NULL);
-#else
- GList *copy;
-
- copy = g_list_copy (file_infos);
- g_list_foreach (copy, (GFunc) (void (*)(void)) g_object_ref, NULL);
-
- return copy;
-#endif
}