Simplify code in notify_available_cb()
Instead of calling g_hash_table_foreach_remove() with a callback function that always returns TRUE, just call g_hash_table_remove_all().
Please register or sign in to comment
Instead of calling g_hash_table_foreach_remove() with a callback function that always returns TRUE, just call g_hash_table_remove_all().