glib: Fix poppler_action_layer_copy function cast warning
In our call to g_list_foreach, the GFunc callback type takes two arguments, but we pass the g_object_ref function, which only takes one, so the compiler warns about an incompatible function cast. Fix this by using a for loop instead of g_list_foreach.
Showing
Please register or sign in to comment