Commit 98dbe4be authored by Committed by Albert Astals Cid
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 with 2 additions and 1 deletion