gplugin/gplugin

aab3e0707aeb
Parents 6a1d00924a16
Children 55291fd09e7d
Use g_queue_clear_full as we long ago required glib 2.60

Testing Done:
Compiled and verified the warning was gone.

Reviewed at https://reviews.imfreedom.org/r/1351/
--- a/gplugin/gplugin-manager.c Tue Mar 15 00:21:40 2022 -0500
+++ b/gplugin/gplugin-manager.c Tue Mar 15 01:23:30 2022 -0500
@@ -650,9 +650,7 @@
priv = gplugin_manager_get_instance_private(manager);
- /* g_queue_clear_full was added in 2.60 but we require 2.40 */
- g_queue_foreach(priv->paths, (GFunc)g_free, NULL);
- g_queue_clear(priv->paths);
+ g_queue_clear_full(priv->paths, g_free);
}
/**