Skip to content
  • Milan Bouchet-Valat's avatar
    Annotate GVariant and GSettings _strv() functions · 36826661
    Milan Bouchet-Valat authored and Allison Karlitskaya's avatar Allison Karlitskaya committed
    
    
    Add GObject introspection annotations so that the length parameter is
    correctly detected for g_variant_new_strv(), g_variant_get_strv() and
    g_variant_dup_strv(). Also specify that it can be a NULL pointer in
    g_variant_get_strv() and g_variant_dup_strv().
    
    For g_settings_set_strv(), detect that a NULL value is allowed, meaning
    empty array.
    
    Closes bug #620384.
    
    Signed-off-by: default avatarRyan Lortie <desrt@desrt.ca>
    36826661