Skip to content
  • Iain Lane's avatar
    gobject: Make g_clear_object take a non-volatile GObject ** · 2aacef39
    Iain Lane authored
    The implementation is silently discarding this anyway, and
    g_object_unref() is using atomic operations. So this should be safe.
    
    Having this here triggers -Wdiscarded-qualifiers when g_clear_pointer()
    is fixed to use __typeof__().
    2aacef39