Skip to content
  • Jason Crain's avatar
    glib: Fix poppler_action_layer_copy function cast warning · 98dbe4be
    Jason Crain authored
    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.
    98dbe4be